-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 994 Bytes
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"plugin:prettier/recommended",
"plugin:eslint-comments/recommended"
],
"env": {
"es6": true
},
"globals": {
"globalThis": false
},
"rules": {
"complexity": ["error", 8],
"implicit-arrow-linebreak": "off",
"function-paren-newline": "off",
"arrow-parens": "off",
"strict": "off",
"max-depth": ["error", { "max": 4 }],
"max-lines": ["error", 300],
"max-nested-callbacks": ["error", 4],
"max-statements": ["error", 32],
"max-statements-per-line": ["error", { "max": 1 }], "no-console": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-return-assign": "off",
"no-param-reassign": "off",
"no-restricted-syntax": ["off", "ForOfStatement"],
"no-unused-expressions": "off",
"no-loop-func": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"eslint-comments/no-unused-disable": "error"
}
}