35 lines
833 B
Plaintext
35 lines
833 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
"extends": [
|
||
|
"prettier",
|
||
|
"plugin:prettier/recommended",
|
||
|
"eslint:recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
|
||
|
"rules": {
|
||
|
"react-hooks/rules-of-hooks": "error",
|
||
|
"react-hooks/exhaustive-deps": "warn",
|
||
|
"@typescript-eslint/no-non-null-assertion": "off",
|
||
|
"@typescript-eslint/ban-ts-comment": "off",
|
||
|
"@typescript-eslint/no-explicit-any": "off",
|
||
|
"no-debugger": "warn"
|
||
|
},
|
||
|
"ignorePatterns": ["**/public"],
|
||
|
"settings": {
|
||
|
"react": {
|
||
|
"version": "detect"
|
||
|
}
|
||
|
},
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"globals": {
|
||
|
"JSX": true
|
||
|
}
|
||
|
}
|