generated from 202209-SPARK-IQLBPS-FEW-2/capstone-react-redux-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
31 lines (30 loc) · 846 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
{
"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",
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}]
}
}