Closed Bug 1860427 Opened 3 years ago Closed 3 years ago

Enable ESLint rules no-undef and no-unused-vars on dom/encoding/test/.

Categories

(Core :: Internationalization, task)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(2 external files)

As part of the ongoing roll-out of rules, we should enable no-undef and no-unused-vars for dom/encoding/test/.

As part of this, we also need to extend ESLint to automatically detect testharness.js imports, and apply particular environment globals when it sees those.

Blocks: 1860428
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb7231735010 Add a new environment to ESLint for testharness.js and automatically use it for html files including the harness. r=Gijs https://hg.mozilla.org/integration/autoland/rev/4fcd65d45b17 Enable ESLint rules no-undef and no-unused-vars on dom/encoding/test/. r=dom-core,hsivonen
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: