-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
40 lines (40 loc) · 857 Bytes
/
.eslintrc
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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"rules": {
"camelcase": 2,
"curly": 2,
"eqeqeq": [2, "smart"],
"no-undef": 2,
"no-native-reassign": 2,
"no-script-url": 2,
"no-underscore-dangle": 1,
"dot-notation": 2,
"quotes": [2, "single"],
"no-trailing-spaces": 2,
"no-unused-vars": 0,
"no-extend-native": 2,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"strict": 2,
"no-alert": 1,
"no-console": 1,
"no-debugger": 1,
"object-curly-spacing": [2, "always"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"]
},
"globals": {
"console": true,
"fetch": true
},
"ecmaFeatures": {
"modules": true,
"arrowFunctions": true,
"forOf": true,
"jsx": true
}
}