-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.json
49 lines (49 loc) · 1.05 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
{
"extends": "google",
"env": {
"browser": true,
"jasmine": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
}
},
"rules": {
"semi": 2,
"no-fallthrough": 2,
"curly": [2, "multi-line"],
"require-jsdoc": 0,
"one-var": 0,
"linebreak-style": ["error", "unix"],
"no-var": 0,
"arrow-parens": 0,
"object-curly-spacing": [1, "always"],
"no-invalid-this": 0,
"no-unused-vars": 1,
"prefer-rest-params": 0,
"prefer-spread": 0,
"no-undef": 2,
"no-multi-spaces": 0,
"max-len": [1, { "code": 80, "ignoreUrls": true }],
"quote-props": [2, "as-needed"],
"no-cond-assign": "error"
},
"globals": {
"Map": false,
"Set": false,
"Symbol": false,
"angular": false,
"location": false,
"console": false,
"describe": false,
"browser": false,
"element": false,
"by": false,
"Promise": false
}
}