Open
Bug 1881268
Opened 2 years ago
Updated 8 months ago
[meta] Roll-out ESLint rule no-constant-condition to all areas
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: standard8, Unassigned)
References
Details
(Keywords: meta)
In bug 1881266 we are enabling the ESLint rule no-constant-condition. For existing failures, we are marking those as warnings, and so we should work to reduce the list of warnings down, and enable the rule as failing everywhere.
Comment 1•8 months ago
|
||
Just something I noticed during a recent review, with a recent (1 year ago) eslint change while (true) is now allowed. This is driven by the new default value for the checkLoops option: "allExceptWhileTrue". If we are fine with it, we can probably trim down the list of excluded files a bit.
You need to log in
before you can comment on or make changes to this bug.
Description
•