-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
67 lines (64 loc) · 1.58 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
57
58
59
60
61
62
63
64
65
66
67
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"rules": {
"comma-dangle": 0,
"consistent-return": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"max-len": [2, {"code": 200, "tabWidth": 4, "ignoreUrls": true}],
"prefer-const": 0,
"eol-last": 0,
"dot-notation": 0,
"func-names": 0,
"prefer-template": 0,
"no-floating-decimal": 0,
"quote-props": 0,
"yoda": ["error", "never", { "exceptRange": true }],
"new-cap": 0,
"global-require": 0,
"import/imports-first": 0,
"space-unary-ops": 0,
"no-trailing-spaces": 0,
"no-shadow": 0,
"no-param-reassign": 0,
"no-useless-constructor": 0,
"no-undef": 0,
"no-unused-vars": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 0,
"no-mixed-operators": 0,
"no-restricted-syntax": 0,
"no-lonely-if": 0,
"import/no-unresolved": [2, { "ignore": ["electron"] }],
"import/no-extraneous-dependencies": 0,
"react/jsx-no-bind": 0,
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/jsx-closing-bracket-location": 0,
"react/self-closing-comp": 0,
"react/no-string-refs": 0,
"react/no-find-dom-node": 0,
"react/jsx-boolean-value": 0,
"react/sort-comp": 0
},
"plugins": [
"import",
"promise",
"compat",
"react"
],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
}
}