2022-05-08 23:44:16 +00:00
|
|
|
{
|
2022-07-19 09:37:38 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
2022-05-08 23:44:16 +00:00
|
|
|
},
|
2022-07-19 09:37:38 +00:00
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["react", "@typescript-eslint"],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/ban-types": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"extendDefaults": true,
|
|
|
|
"types": {
|
|
|
|
"{}": false
|
2022-07-11 06:17:59 +00:00
|
|
|
}
|
2022-07-19 09:37:38 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"argsIgnorePattern": "^_",
|
|
|
|
"varsIgnorePattern": "^_"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
2022-05-08 23:44:16 +00:00
|
|
|
}
|
2022-07-19 09:37:38 +00:00
|
|
|
}
|
2022-05-08 23:44:16 +00:00
|
|
|
}
|