缩减代码

This commit is contained in:
2026-08-09 20:32:03 +08:00
parent 0b77985c7a
commit f54c5e1a78
32 changed files with 54 additions and 7399 deletions
+1 -2
View File
@@ -27,12 +27,11 @@ export default [
...js.configs.recommended.rules,
...tseslint.configs.recommended.rules,
...reactHooks.configs.recommended.rules,
//'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
'no-unused-vars': "off",
'no-empty': "off",
'no-prototype-builtins': "off",
'no-unreachable': "off",
'@typescript-eslint/no-unused-vars': "off",
'@typescript-eslint/no-unused-vars': ['error', {argsIgnorePattern: '^_'}],
'@typescript-eslint/no-explicit-any': "off",
'react-hooks/rules-of-hooks': "off",
'react-hooks/exhaustive-deps': "off",