fix: add no-typeof-undefined rule (#5114)

This commit is contained in:
LongYinan committed 2023-11-29 04:43:59 +00:00
1 parent bd488262fa
commit 19c61e051d
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -212,6 +212,7 @@ const config = {
'unicorn/prefer-dom-node-remove': 'error',
'unicorn/prefer-array-some': 'error',
'unicorn/prefer-date-now': 'error',
'unicorn/no-typeof-undefined': 'error',
'unicorn/no-useless-promise-resolve-reject': 'error',
'sonarjs/no-all-duplicated-branches': 'error',
'sonarjs/no-element-overwrite': 'error',