-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
52 lines (51 loc) · 1.11 KB
/
.eslintrc.json
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
{
"root": true,
"env": {
"node": true,
"browser": true,
"es6": true,
"jest/globals": true
},
"globals": {
"shallow": true,
"render": true,
"mount": true,
"toJson": true,
"offlineRuntime": true,
"cy": true
},
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"arrow-parens": ["error", "as-needed"],
"function-paren-newline": [0],
"comma-dangle": ["error", "never"],
"keyword-spacing": [0],
"space-before-function-paren": [0],
"import/no-extraneous-dependencies": {
"moduleDirectories": ["../"]
},
"import/prefer-default-export": [0],
"import/no-unresolved": [0],
"import/extensions": [0],
"lodash/import-scope": [2, "member"],
"react/sort-comp": [0],
"react/prefer-stateless-function": [1, { "ignorePureComponents": true }],
"react/require-default-props": [0, { "forbidDefaultForRequired": true}],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
]
},
"plugins": [
"lodash",
"jest",
"react",
"jsx-a11y"
]
}