-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (35 loc) · 882 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
35
36
{
"env": {
"browser": true,
"es6": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"extends": "airbnb",
"rules": {
"func-names": ["error", "never"],
"react/prop-types": 0,
"import/no-named-as-default": 0,
"jsx-a11y/alt-text": 0,
"react/jsx-filename-extension": 0,
"react/no-did-update-set-state": 0,
"react/jsx-props-no-spreading": 0,
"react/function-component-definition": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/click-events-have-key-events": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-no-useless-fragment": 0,
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": ["accumulator"]
}
]
}
}