feat: pr lint

This commit is contained in:
hamster1963
2024-12-13 17:31:22 +08:00
parent 9a2f3ea8e6
commit 70d6928987
3 changed files with 60 additions and 1 deletions

View File

@@ -19,9 +19,10 @@ export default tseslint.config(
},
rules: {
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
"react-refresh/only-export-components": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-object-type": "off",
},
},
)