-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
56 lines (56 loc) · 1.57 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
51
52
53
54
55
56
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"es6": true,
"browser": true,
"node": true,
"jquery": true
},
"rules": {
"array-callback-return": ["off"],
"arrow-body-style": ["off"],
"arrow-parens": ["off"],
"class-methods-use-this": 0,
"compat/compat": 2,
"consistent-return": "off",
"comma-dangle": "off",
"generator-star-spacing": "off",
"import/no-unresolved": ["error", { "ignore": ["electron", "atom"] }],
"import/no-extraneous-dependencies": "off",
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/label-has-associated-control": [ 2, {
"controlComponents": [ "Field" ]
}],
"jsx-a11y/label-has-for": 0,
"max-len": ["off"],
"no-cond-assign": ["error", "except-parens"],
"no-console": 1,
"no-param-reassign": ["error", { "props": false }],
"no-return-assign": ["off"],
"no-use-before-define": "off",
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "args": "none" }],
"prefer-destructuring": ["error", {"array": false}],
"promise/param-names": 2,
"promise/always-return": 0,
"promise/catch-or-return": 0,
"promise/no-native": 0,
"react/jsx-no-bind": "off",
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"react/no-find-dom-node": 0,
"react/no-string-refs": 0,
"react/prefer-stateless-function": "off",
"react/sort-comp": "off"
},
"plugins": [
"import",
"promise",
"compat",
"react"
],
"globals": {
"atom": "readable",
"electron": "readable"
}
}