We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a259c45 commit 762fdeeCopy full SHA for 762fdee
eslint.config.js
@@ -1145,7 +1145,10 @@ export default defineConfig([
1145
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 2,
1146
'@typescript-eslint/no-unnecessary-condition': [
1147
2,
1148
- { allowConstantLoopConditions: true, checkTypePredicates: true },
+ {
1149
+ allowConstantLoopConditions: 'neverExceptWhileTrue',
1150
+ checkTypePredicates: true,
1151
+ },
1152
],
1153
'@typescript-eslint/strict-boolean-expressions': 2,
1154
// Application-specific ordering is more relevant than type-specific
0 commit comments