style: add no-self-compare rule (#5092)

This commit is contained in:
LongYinan
2023-11-28 08:55:50 +00:00
parent 890e3e4435
commit c1cf25d2d5
2 changed files with 3 additions and 2 deletions

View File

@@ -126,6 +126,7 @@ const config = {
'no-cond-assign': 'off',
'no-constant-binary-expression': 'error',
'no-constructor-return': 'error',
'no-self-compare': 'error',
'react/prop-types': 'off',
'react/jsx-no-useless-fragment': 'error',
'@typescript-eslint/consistent-type-imports': 'error',