Closed Bug 1769569 Opened 4 years ago Closed 3 years ago

Enable ESLint rules no-undef, no-unused-vars and mozilla/use-cc-etc for sjs files

Categories

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

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Enabling more rules for sjs files

Depends on D146449

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1aed34fdf2d3 Enable ESLint rule no-define-cc-etc for devtools sjs files. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/29d8dd058b7a Make use-cc-etc auto-fixable. r=Gijs https://hg.mozilla.org/integration/autoland/rev/edcd3dade079 Disable reject-importGlobalProperties for sjs files via the ESLint rule. r=Gijs https://hg.mozilla.org/integration/autoland/rev/d3cc9629cd9a Automatically replace Components.* with C* in sjs files. r=Gijs https://hg.mozilla.org/integration/autoland/rev/66a42eb3a366 Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs

It would help if I didn't remove extra lines when I remove some no longer needed eslint-disable-next-line comments...

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8777c1019002 Enable ESLint rule no-define-cc-etc for devtools sjs files. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/fd92487387bd Make use-cc-etc auto-fixable. r=Gijs https://hg.mozilla.org/integration/autoland/rev/47265cc6e820 Disable reject-importGlobalProperties for sjs files via the ESLint rule. r=Gijs https://hg.mozilla.org/integration/autoland/rev/0323be8b5132 Automatically replace Components.* with C* in sjs files. r=Gijs https://hg.mozilla.org/integration/autoland/rev/c460b3e1bbd0 Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: