|
|
@@ -1,16 +1,19 @@
|
|
|
{
|
|
|
"root": true,
|
|
|
- "env": {
|
|
|
- "browser": true
|
|
|
- },
|
|
|
"extends": [
|
|
|
"eslint:recommended",
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
+ "plugin:prettier/recommended",
|
|
|
"plugin:react/recommended",
|
|
|
"plugin:react-hooks/recommended"
|
|
|
],
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
- "plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
|
|
|
+ "plugins": [
|
|
|
+ "@typescript-eslint",
|
|
|
+ "prettier",
|
|
|
+ "react",
|
|
|
+ "react-hooks"
|
|
|
+ ],
|
|
|
"settings": {
|
|
|
"react": {
|
|
|
"version": "detect"
|
|
|
@@ -20,6 +23,8 @@
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
+ "@typescript-eslint/no-empty-interface": "off",
|
|
|
+ "@typescript-eslint/consistent-type-imports": "error",
|
|
|
"react/no-unescaped-entities": ["error", { "forbid": [">"] }]
|
|
|
}
|
|
|
}
|