-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
51 lines (51 loc) · 1.32 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
{
env: {
es6: true,
browser: true,
node: true,
mocha: true
},
parserOptions: {
sourceType: "module",
ecmaFeatures: {
jsx: true
}
},
rules: {
semi: [2, "always"],
"no-undef": "error",
"no-unused-vars": ["error", { "vars": "all", "args": "after-used" }],
"react/jsx-no-undef": "error",
"react/jsx-uses-vars": "error",
"react/jsx-uses-react": "error",
"indent": 0,
"no-tabs": 0,
"max-len": 0,
"react/jsx-indent": [2, 4],
"jsx-a11y/img-has-alt": 0,
"one-var": 0,
"react/no-did-mount-set-state": 0,
"react/sort-comp": 0,
"no-plusplus": 0,
"prefer-template": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/jsx-no-bind": 0,
"react/jsx-indent-props": 0,
"react/forbid-prop-types": 0,
"react/no-string-refs": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"react/no-danger": 0,
"import/extensions": 0,
"react/jsx-filename-extension": 0
},
plugins: [
"react"
],
extends: "airbnb",
settings: {
"import/resolver": "webpack"
}
}