-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
29 lines (29 loc) · 950 Bytes
/
.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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"class-methods-use-this": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"indent": ["error", 4, { "SwitchCase": 1 }],
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-quotes": ["error", "prefer-single"],
"max-len": ["error", { "code": 120, "ignorePattern": ".*Copyright.*" }],
"no-console": ["warn", { "allow": ["warn", "error"]}],
"no-param-reassign": 0,
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/no-unused-prop-types": 0,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
}
}