forked from cerebroapp/cerebro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.28 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"mocha": true,
"node": 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",
"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"
},
"plugins": [
"jsx-a11y",
"import",
"react"
],
"settings": {
"import/core-modules": "electron",
"import/resolver": {
"webpack": {
"config": "../webpack.config.base.js"
}
}
}
}