41 lines
920 B
JSON
41 lines
920 B
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"es2021": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:react/jsx-runtime",
|
||
|
"plugin:react/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"jsx": true
|
||
|
},
|
||
|
"ecmaVersion": 12,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"plugins": ["react", "react-hooks", "@typescript-eslint"],
|
||
|
"rules": {
|
||
|
"no-console": 0,
|
||
|
"no-empty": 0,
|
||
|
"no-bitwise": 0,
|
||
|
"quotes": [1, "single"],
|
||
|
"jsx-quotes": [1, "prefer-double"],
|
||
|
"semi": [1, "always"],
|
||
|
"@typescript-eslint/prefer-as-const": 1,
|
||
|
"@typescript-eslint/no-namespace": 1,
|
||
|
"no-unused-vars": "off",
|
||
|
"@typescript-eslint/no-unused-vars": [
|
||
|
"warn",
|
||
|
{
|
||
|
"argsIgnorePattern": "^_",
|
||
|
"varsIgnorePattern": "^_",
|
||
|
"caughtErrorsIgnorePattern": "^_"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|