40 lines
861 B
JSON
40 lines
861 B
JSON
{
|
|||
|
|
"env": {
|
||
|
|
"browser": true,
|
||
|
|
"es2021": true
|
||
|
|
},
|
||
|
|
"extends": [
|
||
|
|
"plugin:react/recommended",
|
||
|
|
"plugin:react/jsx-runtime",
|
||
|
|
"standard-with-typescript",
|
||
|
|
"prettier"
|
||
|
|
],
|
||
|
|
"overrides": [],
|
||
|
|
"parser": "@typescript-eslint/parser",
|
||
|
|
"parserOptions": {
|
||
|
|
"ecmaVersion": "latest",
|
||
|
|
"sourceType": "module",
|
||
|
|
"project": "./tsconfig.json",
|
||
|
|
"tsconfigRootDir": "."
|
||
|
|
},
|
||
|
|
"settings": {
|
||
|
|
"react": {
|
||
|
|
"version": "^18.0.0"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"plugins": ["react"],
|
||
|
|
"rules": {
|
||
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||
|
|
"@typescript-eslint/no-misused-promises": "off",
|
||
|
|
"@typescript-eslint/no-floating-promises": "off",
|
||
|
|
"@typescript-eslint/strict-boolean-expressions": "off"
|
||
|
|
},
|
||
|
|
"ignorePatterns": [
|
||
|
|
"build/**",
|
||
|
|
"dist/**",
|
||
|
|
"src/assets/**",
|
||
|
|
"src/.umi/**",
|
||
|
|
"src/.umi-production/**"
|
||
|
|
]
|
||
|
|
}
|