27 lines
823 B
JSON
27 lines
823 B
JSON
|
|
{
|
||
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
|
||
|
|
"parser": "@typescript-eslint/parser",
|
||
|
|
"parserOptions": {
|
||
|
|
"ecmaFeatures": {
|
||
|
|
"jsx": true
|
||
|
|
},
|
||
|
|
"ecmaVersion": "latest",
|
||
|
|
"sourceType": "module",
|
||
|
|
"project": ["./tsconfig.json"]
|
||
|
|
},
|
||
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks"],
|
||
|
|
"settings": {
|
||
|
|
"react": {
|
||
|
|
"version": "detect"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"rules": {
|
||
|
|
"no-unused-vars": "off",
|
||
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
||
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }],
|
||
|
|
"react/react-in-jsx-scope": "off",
|
||
|
|
"react/prop-types": "off"
|
||
|
|
},
|
||
|
|
"ignorePatterns": ["dist/", "node_modules/", "src-tauri/", "target/", "coverage/"]
|
||
|
|
}
|