-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
41 lines (41 loc) · 840 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
41
{
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"sourceType": "module"
},
"globals": {
"testRule": "readonly"
},
"rules": {
"comma-dangle": [2, "always-multiline"],
"curly": 0,
"radix": 2,
"wrap-iife": 2,
"brace-style": 0,
"comma-style": 2,
"consistent-this": 0,
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"no-console": 0,
"no-lonely-if": 2,
"no-nested-ternary": 2,
"no-use-before-define": [2, "nofunc"],
"quotes": [2, "single"],
"space-before-function-paren": [2, "never"],
"keyword-spacing": [2, { "before": true }],
"space-before-blocks": [2, "always"],
"space-in-parens": [2, "never"],
"space-unary-ops": 2
},
"plugins": ["jest"]
}