-
Notifications
You must be signed in to change notification settings - Fork 33
/
.eslintrc
38 lines (38 loc) · 996 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
{
"parser": "babel-eslint",
"globals":{
"document": true,
"describe": true,
"it": true,
"expect": true,
"localStorage": true
},
"extends": "eslint-config-airbnb",
"plugins": ["eslint-plugin-jest"],
"env": {
"jest/globals": true
},
"rules": {
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [2, { "ignore": ["electron"] }],
"linebreak-style": 0,
"react/prefer-stateless-function": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"jsx-a11y/href-no-hash": 0,
"react/prop-types": 0,
"prefer-template": 0,
"react/no-multi-comp": 0,
"react/jsx-filename-extension": 0,
"class-methods-use-this": 0,
"no-param-reassign": 0,
"no-loop-func": 0,
"global-require": 0,
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
}
}