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
66
67
68
|
{
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"globals": {
"key": true,
"d3": true,
"baseUrl": true
},
"parser": "babel-eslint",
"plugins": [
"react",
"import"
],
"rules": {
"arrow-spacing": 2,
"comma-spacing": 2,
"curly": 2,
"eol-last": 2,
"eqeqeq": [2, "smart"],
"indent": [2, 2, { "SwitchCase": 1, "VariableDeclarator": 2 }],
"jsx-quotes": 2,
"key-spacing": 2,
"no-multi-spaces": 2,
"no-self-compare": 2,
"no-unexpected-multiline": 2,
"max-len": [2, 120],
"no-const-assign": 2,
"no-multiple-empty-lines": [2, { "max": 3 }],
"no-spaced-func": 2,
"no-this-before-super": 2,
"no-trailing-spaces": 2,
"no-unneeded-ternary": 2,
"object-curly-spacing": [2, "always"],
"no-var": 2,
"object-shorthand": 2,
"one-var": [2, { "let": "never", "const": "never" }],
"quotes": [2, "single", "avoid-escape"],
"prefer-const": 2,
"semi": [2, "always"],
"keyword-spacing": 2,
"react/display-name": 0,
"react/no-find-dom-node": 0,
"react/prop-types": 0
},
"settings": {
"import/ignore": [
"node_modules",
"hbs$"
]
}
}
|