Closed Bug 1786197 Opened 2 years ago Closed 2 years ago

Turn on ESLint rule for prefer-boolean-length-check for more locations

Categories

(Developer Infrastructure :: Lint and Formatting, task, P3)

Tracking

(firefox106 fixed)

RESOLVED FIXED
Tracking Status
firefox106 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(15 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

This is to continue rolling out the Mozilla ESLint prefer-boolean-length-check rule across the tree as part of bug 1552055.

This does most of the tree, but there's a couple of components left out which I'll cover in a different bug as they have ESLint work happening as well.

This also moves the layout disabling to the layout section - to be enabled later.

Depends on D155176

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9424ea45a6da
Turn on ESLint rule for prefer-boolean-length-check for services. r=markh
https://hg.mozilla.org/integration/autoland/rev/a6f1cc9147c6
Turn on ESLint rule for prefer-boolean-length-check for js/src/builtin. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/8d822fc43989
Turn on ESLint rule for prefer-boolean-length-check for security. r=keeler
https://hg.mozilla.org/integration/autoland/rev/d6e73476c7d6
Turn on ESLint rule for prefer-boolean-length-check for accessible. r=Jamie
https://hg.mozilla.org/integration/autoland/rev/f060c1dd4b9b
Turn on ESLint rule for prefer-boolean-length-check for devtools. r=jdescottes
https://hg.mozilla.org/integration/autoland/rev/ed5aa086c75c
Turn on ESLint rule for prefer-boolean-length-check for docshell. r=nika
https://hg.mozilla.org/integration/autoland/rev/6e230842cdd4
Turn on ESLint rule for prefer-boolean-length-check for editor. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/3303a75e6103
Turn on ESLint rule for prefer-boolean-length-check for gfx. r=gfx-reviewers,nical
https://hg.mozilla.org/integration/autoland/rev/1c43d650bdd1
Turn on ESLint rule for prefer-boolean-length-check for mobile/android. r=geckoview-reviewers,owlish
https://hg.mozilla.org/integration/autoland/rev/f27f41b51ba7
Turn on ESLint rule for prefer-boolean-length-check for modules. r=valentin
https://hg.mozilla.org/integration/autoland/rev/ad490f628a4f
Turn on ESLint rule for prefer-boolean-length-check for remote. r=whimboo,webdriver-reviewers
https://hg.mozilla.org/integration/autoland/rev/f9d50a4fa475
Turn on ESLint rule for prefer-boolean-length-check for taskcluster. r=keeler
https://hg.mozilla.org/integration/autoland/rev/f0b5961d4411
Turn on ESLint rule for prefer-boolean-length-check for testing. r=jmaher,perftest-reviewers,AlexandruIonescu
https://hg.mozilla.org/integration/autoland/rev/c8eab984a28b
Turn on ESLint rule for prefer-boolean-length-check for tools. r=ahal
https://hg.mozilla.org/integration/autoland/rev/f62e1df9c502
Turn on ESLint rule for prefer-boolean-length-check for a few test files. r=mossop
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: