Closed
Bug 1867253
Opened 6 months ago
Closed 5 months ago
Enable no-unused-vars on a global scope for worker files
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox122 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
As we are currently renaming all our workers to use a predefined format (bug 1847110), and workers shouldn't be exporting variables, then we can enable the ESLint no-unused-vars rule on the global scope as well as the local scope for those files.
For the files we've already got converted, there's no ESLint failures with this turned on.
Assignee | ||
Comment 1•6 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07ef6258fd47 Enable ESLint rule no-unused-vars on the global scope for worker files. r=mossop DONTBUILD
Comment 3•5 months ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•