-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
34 lines (34 loc) · 967 Bytes
/
.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
{
"extends": "airbnb",
"env": {
"browser": true,
"commonjs": true,
"es2020": true,
"node": true
},
"root": true,
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true,
"spread": true,
"experimentalObjectRestSpread": true,
"object-shorthand": ["error", "always"]
},
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/prop-types": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-props-no-spreading": "off",
"react/forbid-prop-types": "off",
"react/no-array-index-key": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",
"no-mixed-operators": [1, {"allowSamePrecedence": true}]
}
}