Closed
Bug 1881266
Opened 3 months ago
Closed 3 months ago
Enable ESLint recommended rules no-constant-condition and no-case-declarations, warning for existing failures
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox125 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 3 open bugs)
Details
Attachments
(2 files)
As part of our work to finish rolling out the recommended rules for ESLint, this bug is for no-constant-condition and no-case-declarations.
There's quite a few errors for these currently (~800 combined) so to start rolling this out, I'd like to enable it as warnings in the places where it is currently failing, and errors everywhere else. This should help start to catch new cases, whilst the full roll-out continues.
Assignee | ||
Comment 1•3 months ago
|
||
Assignee | ||
Comment 2•3 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82d14a7274ab Enable ESLint recommended rule no-constant-condition globally, warning for existing cases. r=mossop,devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/8207f0d5ebaa Enable ESLint recommended rule no-case-declarations globally, warning for existing cases. r=mossop
You need to log in
before you can comment on or make changes to this bug.
Description
•