缩减代码
This commit is contained in:
+1
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user