-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
39 lines (39 loc) · 772 Bytes
/
.eslintrc
File metadata and controls
39 lines (39 loc) · 772 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
35
36
37
38
39
{
"extends": ["airbnb-base"],
"env": {
"es6": false,
"node": true
},
"rules": {
"comma-dangle": "off",
"no-underscore-dangle": "warn",
"no-console": "off",
"prefer-destructuring": "off",
"curly": "error",
"eqeqeq": "warn",
"indent": 2,
"quotes": ["error", "single"],
"no-undef": "error",
"no-throw-literal": "warn",
"prefer-rest-params": "warn",
"no-nested-ternary": "warn",
"arrow-body-style": "off",
"strict": "off"
},
"overrides": [{
"files": ["**/*.spec.js"],
"globals": {
"describe": true,
"it": true
}
}, {
"files": ["**/public/js/*.js"],
"globals": {
"$": true,
"document": true
},
"rules": {
"prefer-const": "warn"
}
}]
}