forked from philihp/fields-of-arle
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
47 lines (47 loc) · 1.36 KB
/
.eslintrc.json
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
{
"extends": [
"airbnb",
"plugin:unicorn/recommended",
"plugin:prettier/recommended"
],
"env": {
"es6": true
},
"parser": "babel-eslint",
"plugins": ["unicorn", "import", "jsx-a11y", "react"],
"rules": {
"consistent-return": 0,
"import/no-useless-path-segments": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/label-has-for": 0,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-one-expression-per-line": 0,
"react/no-access-state-in-setstate": 0,
"react/no-array-index-key": 0,
"react/no-unescaped-entities": 0,
"react/prop-types": 0,
"react/require-default-props": 0,
"react/prefer-stateless-function": 0,
"no-debugger": 1,
"no-console": 1,
"no-unreachable": 1,
"no-else-return": 0,
"no-prototype-builtins": 0,
"no-underscore-dangle": [
"error",
{ "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }
],
"no-undef": 0,
"no-unused-vars": 0,
"object-shorthand": 0,
"prefer-destructuring": 0,
"prefer-template": 0,
"unicorn/filename-case": ["error", { "case": "camelCase" }],
"unicorn/no-abusive-eslint-disable": 0,
"unicorn/new-for-builtins": 0,
"unicorn/import-index": 0
}
}