-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
65 lines (65 loc) · 1.04 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"flowtype",
"jest"
],
"rules": {
"no-constant-condition": 0,
"prefer-const": 1,
"no-const-assign": 1,
"no-var": 1,
"comma-dangle": [
1,
"always-multiline"
],
"array-callback-return": 1,
"template-curly-spacing": 1,
"prefer-arrow-callback": 1,
"arrow-spacing": 1,
"arrow-parens": 1,
"arrow-body-style": 1,
"one-var": [
1,
"never"
],
"no-unneeded-ternary": 1,
"brace-style": 1,
"space-before-blocks": 1,
"keyword-spacing": 1,
"newline-per-chained-call": 1,
"padded-blocks": [
1,
"never"
],
"space-in-parens": 1,
"array-bracket-spacing": 1,
"comma-style": 1,
"quotes": [
1,
"single"
],
"semi": 1,
"radix": 1,
"camelcase": 1
},
"globals": {
"context": true,
"response": true,
"window": true
},
"env": {
"commonjs": true,
"es6": true,
"node": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended"
]
}