generated from 202209-SPARK-IQLBPS-FEW-2/capstone-react-redux-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
37 lines (37 loc) · 919 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
37
{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"overrides": [],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx"] }],
"react/function-component-definition": "off",
"arrow-body-style": "off",
"react/react-in-jsx-scope": "off",
"no-param-reassign": ["error", { "props": false }],
"react/prop-types": "off",
"no-restricted-exports": "off",
"react/jsx-props-no-spreading": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"jsx-a11y/label-has-associated-control": [
"error",
{
"required": {
"some": ["nesting", "id"]
}
}
]
}
}