-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
57 lines (57 loc) · 1.38 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
56
57
{
"root": true,
"extends": "airbnb-base",
"env": {
"node": true,
"mocha": true
},
"globals": {
"expect": true
},
"rules": {
"arrow-body-style": "off",
"arrow-parens": ["error", "always"],
"class-methods-use-this": "off",
"comma-dangle": ["error", "never"],
"consistent-return": "off",
"eqeqeq": "off",
"func-names": ["error", "as-needed"],
"global-require": "off",
"implicit-arrow-linebreak": "off",
"new-cap": "off",
"no-console": "off",
"no-shadow": "off",
"no-restricted-syntax": "off",
"no-multiple-empty-lines": ["error", {
"max": 1,
"maxBOF": 0,
"maxEOF": 1
}],
"no-param-reassign": ["error", {
"props": false
}],
"no-prototype-builtins": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": ["error", {
"allowShortCircuit": true,
"allowTernary": true
}],
"no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true
}],
"operator-linebreak": ["error", "before", {
"overrides": {
"=": "after"
}
}],
"padded-blocks": ["error", "never"],
"semi": ["error", "never"],
"import/order": ["error", {
"groups": ["builtin", "external", "parent", "sibling", "index"],
"newlines-between": "always"
}],
"import/prefer-default-export": "off"
}
}