-
Notifications
You must be signed in to change notification settings - Fork 26
/
.eslintrc.json
executable file
·55 lines (55 loc) · 1.17 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": "eslint-config-airbnb",
"rules": {
"import/no-dynamic-require": false,
"linebreak-style": 0,
"no-underscore-dangle": "off",
"prefer-destructuring": "off",
"no-unused-vars": [
"warn",
{
"args": "none",
"argsIgnorePattern": "^_.+$|utils"
}
],
"radix": "off",
"no-param-reassign": "off",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"import/newline-after-import": "off",
"arrow-parens": "off",
"max-len": [
"warn",
{
"ignoreComments": true,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"tabWidth": 2,
"code": 100
}
],
"eqeqeq": "off",
"consistent-return": "off",
"strict": "off",
"no-prototype-builtins": "off",
"operator-assignment": "off",
"no-useless-constructor": "off",
"no-empty-function": [
"error",
{
"allow": [
"constructors",
"arrowFunctions"
]
}
],
"no-buffer-constructor": "off",
"no-use-before-define": "off",
"arrow-body-style": "off",
"no-mixed-operators": "off"
}
}