-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
35 lines (35 loc) · 991 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
{
"rules": {
"comma-spacing": [2, {"after": true}],
"consistent-return": 2,
"curly": 1,
"eol-last": 1,
"eqeqeq": 2,
"indent": [2, 4, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"linebreak-style": [0, "windows"],
"max-len": [0, 120, 4],
"no-console": 0,
"no-const-assign": 2,
"no-mixed-spaces-and-tabs": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unreachable": 2,
"no-unused-vars": 1,
"no-var": 2,
"prefer-const": 0,
"quotes": [1, "double"],
"react/display-name": 0,
"semi": [2, "always"],
"keyword-spacing": [2, {"before": true, "after": true}],
"space-before-blocks": 2
},
"env": {
"es6": true,
"node": true,
"browser": true,
"jasmine": true,
"jest": true
},
"extends": ["eslint:recommended"],
}