-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
36 lines (33 loc) · 900 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
module.exports = {
env: {
es6: true,
node: true,
browser: true,
jest: true,
},
extends: [
'airbnb-base'
],
parser: 'babel-eslint',
rules: {
semi: [1, 'never'],
'max-len': ['error', { code: 200 }],
'import/prefer-default-export': 'off',
'import/no-named-as-default': 'off',
'import/extensions': 'off',
'prefer-destructuring': 'off',
'no-param-reassign': 'off',
'no-plusplus': 'off',
'no-return-assign': 'off',
'no-underscore-dangle': 'off',
'class-methods-use-this': 'off',
'no-unused-vars': ['error', { "argsIgnorePattern": "^_" }],
'default-case': 'off',
'object-curly-newline': ['error', {
ObjectExpression: { multiline: true, minProperties: 5 },
ObjectPattern: { multiline: true },
ImportDeclaration: 'never',
ExportDeclaration: { multiline: true, minProperties: 5 },
}],
},
}