-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 931 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,
"es2021": true
},
"extends": [
"airbnb",
"plugin:prettier/recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react", "prettier", "jest", "jest-dom", "testing-library"
],
"overrides": [
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
"extends": ["plugin:testing-library/react", "plugin:jest-dom/recommended", "plugin:jest/recommended", "plugin:jest/style"]
}
],
"rules": {
"import/no-unresolved": "off",
"no-underscore-dangle": "off",
"prettier/prettier": "error",
"react/no-unescaped-entities": "off",
"react/prop-types": ["warn", { "skipUndeclared": true }],
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off"
}
}