-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
51 lines (50 loc) · 1.17 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
{
"env": {
"es6": true,
"jasmine": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"arrow-body-style": 2,
"arrow-spacing": [1, { "before": true, "after": true }],
"brace-style": 2,
"camelcase": [1, {"properties": "never"}],
"eol-last": 1,
"eqeqeq": 2,
"global-require": 2,
"handle-callback-err": 2,
"indent": [1, "tab", { "SwitchCase": 1 }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"linebreak-style": [2, "unix"],
"no-cond-assign": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-empty-function": 2,
"no-multiple-empty-lines": 1,
"no-extra-parens": 2,
"no-func-assign": 2,
"no-irregular-whitespace": 2,
"no-magic-numbers": [1, { "ignore": [-1, 0, 1] }],
"no-multi-spaces": 2,
"no-multi-str": 1,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-self-assign": 2,
"no-trailing-spaces": 1,
"no-undef": 2,
"no-unused-vars": 1,
"no-var": 2,
"prefer-arrow-callback": 1,
"prefer-const": 1,
"quotes": [1, "single"],
"semi": [1, "never"],
"space-before-function-paren": [2, "never"],
"strict": [2, "global"],
"yoda": 2
}
}