Skip to content

Commit aa6b493

Browse files
committed
Another bug prevent us to enable @typescript-eslint/no-unnecessary-condition
1 parent 6c4cebb commit aa6b493

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eslint.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = tseslint.config(
3333
'@typescript-eslint/no-extraneous-class': 'off', // We have component without any logic in TS
3434
'@typescript-eslint/no-floating-promises': 'off',
3535
'@typescript-eslint/no-non-null-assertion': 'off',
36-
'@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
36+
'@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
3737
'@typescript-eslint/no-unsafe-argument': 'off',
3838
'@typescript-eslint/no-unsafe-assignment': 'off',
3939
'@typescript-eslint/no-unsafe-call': 'off',

0 commit comments

Comments
 (0)