Skip to content

Commit 323f82f

Browse files
committed
Another bug prevent us to enable @typescript-eslint/no-unnecessary-condition
1 parent ac22c4e commit 323f82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function tsFiles(files, extraRules = {}) {
3232
'@typescript-eslint/no-extraneous-class': 'off', // We have component without any logic in TS
3333
'@typescript-eslint/no-floating-promises': 'off',
3434
'@typescript-eslint/no-non-null-assertion': 'off',
35-
'@typescript-eslint/no-unnecessary-condition': 'off', // This is very unfortunate, but there are too many dangerous false-positive, see https://github.com/typescript-eslint/typescript-eslint/issues/1798
35+
'@typescript-eslint/no-unnecessary-condition': 'off', // This is very unfortunate, but there are too many dangerous false-positive, see https://github.com/typescript-eslint/typescript-eslint/issues/2128
3636
'@typescript-eslint/no-unsafe-argument': 'off',
3737
'@typescript-eslint/no-unsafe-assignment': 'off',
3838
'@typescript-eslint/no-unsafe-call': 'off',

0 commit comments

Comments
 (0)