fix: add eqeqeq lint rule (#5106)

This commit is contained in:
LongYinan committed 2023-11-29 04:43:31 +00:00
1 parent a843dcd851
commit 923844f302
12 files changed
+18 -16

No files matched your search

+1
View File
@@ -127,6 +127,7 @@ const config = {
'no-constant-binary-expression': 'error',
'no-constructor-return': 'error',
'no-self-compare': 'error',
eqeqeq: ['error', 'always', { null: 'ignore' }],
'react/prop-types': 'off',
'react/jsx-no-useless-fragment': 'error',
'@typescript-eslint/consistent-type-imports': 'error',