Closed
Bug 1578683
Opened 6 years ago
Closed 6 years ago
Turn on ESLint rule prefer-boolean-length-check for toolkit and browser
Categories
(Toolkit :: General, task, P3)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: standard8, Assigned: MonikaMaheshwari)
References
Details
Attachments
(1 file)
In bug 1578190 we've landed a rule for removing length comparisons where we're doing == 0
or > 0
(etc).
We would like to start rolling that out, beginning with toolkit/ and browser/
I think rather than adding this to recommended.js to begin with, we should add it to the list in the top-level .eslintrc.js
and enable the rule for toolkit/ and browser/.
Assignee | ||
Comment 1•6 years ago
|
||
Okay will start with that :)
Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Attachment #9092274 -
Attachment description: rule applied on toolkit and browser → Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser
Reporter | ||
Comment 3•6 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1bbabcc98f00
Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•