forked from CoorpAcademy/serverless-plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
42 lines (42 loc) · 1020 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
env: {
node: true,
es6: true
},
extends: [
'plugin:@coorpacademy/coorpacademy/core',
'plugin:@coorpacademy/coorpacademy/es20XX',
'plugin:@coorpacademy/coorpacademy/prettier',
'plugin:@coorpacademy/coorpacademy/lodash-fp'
],
plugins: ['@coorpacademy/coorpacademy'],
rules: {
'fp/no-class': 'off',
'no-console': 'off',
'promise/no-native': 'off',
'no-param-reassign': 'off',
'import/no-extraneous-dependencies': 'off',
'node/no-extraneous-require': [
'error',
{
allowModules: ['ava', 'aws-sdk']
}
],
'unicorn/no-unreadable-array-destructuring': 'off',
'unicorn/consistent-function-scoping': 'off'
},
overrides: [
{
files: ['packages/**/.*/**/*.test.js', 'packages/**/*.test.js'],
rules: {
'import/no-extraneous-dependencies': 'off'
}
},
{
files: ['ava.config.js'],
rules: {
'node/no-unsupported-features/es-syntax': 'off'
}
}
]
};