31 lines
828 B
JSON
31 lines
828 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"overrides": [],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"plugins": ["react", "@typescript-eslint"],
|
|
"rules": {
|
|
"@typescript-eslint/no-unsafe-argument": "warn",
|
|
"@typescript-eslint/no-unsafe-assignment": "warn",
|
|
"@typescript-eslint/unbound-method": "warn"
|
|
},
|
|
"ignorePatterns": ["node_modules", "build", "webpack**", "src/public/"]
|
|
}
|