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)

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.

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
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: