-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
34 lines (34 loc) · 698 Bytes
/
.eslintrc
File metadata and controls
34 lines (34 loc) · 698 Bytes
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
{
"extends": "airbnb-base",
"rules": {
"comma-dangle": 1,
"prefer-const": 1,
"prefer-arrow-callback": 0,
"indent": [2, 2, {
"SwitchCase": 1
}],
"consistent-return": 1,
"max-len": [1, 120, 2],
"no-use-before-define": 1,
"no-labels": 1,
"no-param-reassign": [2, {
"props": false
}],
"no-loop-func": 1,
"strict": 0,
"no-mixed-operators": ["error", {
"allowSamePrecedence": true,
"groups": [
["&", "|", "^", "~", "<<", ">>", ">>>"],
["&&", "||"]
]
}],
"semi": [2 , "never"],
"arrow-parens": [2, "always"]
},
"env": {
"browser": true,
"node": true,
"mocha": true
}
}