forked from Flood-UI/flood
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
41 lines (40 loc) · 989 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
module.exports = {
extends: ['airbnb', 'plugin:import/errors', 'plugin:import/warnings', 'prettier'],
parser: 'babel-eslint',
plugins: ['import'],
rules: {
'arrow-parens': 0,
'class-methods-use-this': 0,
'consistent-return': 0,
'implicit-arrow-linebreak': 0,
'import/no-extraneous-dependencies': 0,
'import/prefer-default-export': 0,
'max-len': [
'error',
{
code: 120,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreUrls: true,
},
],
'no-console': 0,
'no-param-reassign': 0,
'no-plusplus': 0,
'no-underscore-dangle': [2, {allow: ['_id']}],
'no-unused-vars': [0, { "argsIgnorePattern": "^_" }],
'object-curly-newline': 0,
'object-curly-spacing': 0,
'prefer-destructuring': [
2,
{
array: false,
object: true,
},
{
enforceForRenamedProperties: false,
},
],
},
};