-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.57 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
48
49
50
51
52
{
"rules": {
"object-curly-newline" : [ "error", { "consistent" : true } ],
"no-console": "error",
"jsx-quotes": [ "error", "prefer-single" ],
"react/react-in-jsx-scope": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"arrow-parens": [ "error", "always" ],
"react/forbid-prop-types": "off",
"jsx-a11y/no-static-element-interactions": "off",
"import/imports-first": "off",
"jsx-a11y/label-has-for": "off",
"react/require-default-props": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/no-typos": "off",
"react/jsx-curly-brace-presence": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/destructuring-assignment": "off",
"react/jsx-one-expression-per-line": [ "error", { "allow": "single-child" } ],
"operator-linebreak": [ "error", "after" ],
"react/jsx-props-no-spreading": "off",
"react/jsx-fragments": [ "error", "element" ],
"react/jsx-curly-spacing": [ "error", { "when": "never", "children": true } ],
"newline-per-chained-call" : "off"
},
"extends": "airbnb",
"plugins": [
"react"
],
"env": {
"es6": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "17"
}
},
"parser": "babel-eslint"
}