Skip to content

Commit 090a674

Browse files
Trotttargos
authored andcommitted
tools: enable ESLint no-constant-condition rule
PR-URL: #41463 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]>
1 parent 4518fdd commit 090a674

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ module.exports = {
179179
'no-class-assign': 'error',
180180
'no-confusing-arrow': 'error',
181181
'no-const-assign': 'error',
182+
'no-constant-condition': ['error', { checkLoops: false }],
182183
'no-constructor-return': 'error',
183184
'no-control-regex': 'error',
184185
'no-debugger': 'error',

0 commit comments

Comments
 (0)