-
Notifications
You must be signed in to change notification settings - Fork 456
/
.eslintrc.json
53 lines (53 loc) · 1.39 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
53
{
"parser": "@babel/eslint-parser",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"consistent-return": 0,
"comma-dangle": 0,
"no-use-before-define": 0,
"no-console": 0,
"semi": ["error", "never"],
"no-confusing-arrow": ["off"],
"no-useless-escape": 0,
"no-mixed-operators": "off",
"no-continue": "off",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"import/no-extraneous-dependencies": "off",
"import/imports-first": "off",
"import/extensions": "off",
"react/jsx-no-bind": 0,
"react/prefer-stateless-function": 0,
"react/no-string-refs": "off",
"react/forbid-prop-types": "off",
"react/no-unused-prop-types": "off",
"react/no-danger": "off",
"react/require-default-props": "off",
"react/jsx-filename-extension": "off",
"react/no-unescaped-entities": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"prefer-spread": "off",
"class-methods-use-this": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/label-has-for": "off",
"linebreak-style": 0
},
"plugins": [
"jsx-a11y",
"import",
"react",
"jest"
],
"settings": {
"import/core-modules": "electron",
"import/resolver": {
"node": {
"paths": ["app"]
}
}
}
}