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
|
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"react-app",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jest/recommended",
"prettier-standard"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["react", "@typescript-eslint", "react-hooks", "prettier"],
"rules": {
"no-use-before-define": "off",
"react/react-in-jsx-scope": "off",
"react/no-unknown-property": [
2,
{
"ignore": ["jsx", "global"]
}
]
}
}
|