-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
41 lines (40 loc) · 926 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true,
"jsx": false
}
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jasmine": true
},
"plugins": [
],
"globals": {
"document": false,
"navigator": false,
"window": false,
"google": false,
"jasmine": true
},
"extends": "xo",
// "extends": "eslint:recommended",
"rules": {
"indent": [2, 4, {"SwitchCase": 1}],
"curly": [2, "multi-line", "consistent"],
"one-var": 0,
"no-unused-vars": 1,
"object-curly-spacing": 0,
"operator-linebreak": 0,
"padded-blocks": 0,
"no-negated-condition": 0,
"quote-props": 0,
"capitalized-comments": 0,
"no-multi-spaces": 0
}
}