2024-06-06 11:05:54 +00:00
|
|
|
module.exports = {
|
2024-07-09 16:21:12 +00:00
|
|
|
$schema: "https://json.schemastore.org/eslintrc",
|
2024-06-06 11:05:54 +00:00
|
|
|
root: true,
|
|
|
|
|
env: { browser: true, es2020: true },
|
|
|
|
|
extends: [
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
|
],
|
|
|
|
|
ignorePatterns: ["dist", ".eslintrc.cjs"],
|
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
|
plugins: ["react-refresh"],
|
|
|
|
|
rules: {
|
2024-08-22 17:23:12 +00:00
|
|
|
"@typescript-eslint/no-require-imports": "none",
|
2024-06-06 11:05:54 +00:00
|
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
|
|
|
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
|
2024-07-09 16:21:12 +00:00
|
|
|
"react/no-unescaped-entities": "off",
|
2024-06-06 11:05:54 +00:00
|
|
|
},
|
|
|
|
|
};
|