-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy path.eslintrc.json
42 lines (42 loc) · 1.1 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
{
"env": {
"browser": true,
"es2021": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"prettier",
"prettier/react"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks",
"prettier"
],
"rules": {
"prettier/prettier": ["error", { "singleQuote": false }],
"consistent-return": "off",
"strict": 0,
"no-console": "off",
"no-unused-vars": "warn",
"no-nested-ternary": "off",
"no-restricted-syntax": "off",
"no-param-reassign": ["error", { "props": false }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-curly-brace-presence": 0,
"react/forbid-prop-types": 0,
"react/jsx-props-no-spreading": 0,
"react/require-default-props": 0,
"react-hooks/exhaustive-deps": 1,
"import/prefer-default-export": 0
}
}