Closed Bug 1889087 Opened 2 years ago Closed 2 years ago

Enable ESLint rule mozilla/reject-chromeutils-import on devtools as well

Categories

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

Tracking

(firefox126 fixed)

RESOLVED FIXED
Tracking Status
firefox126 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

The ESLint rule mozilla/reject-chromeutils-import can now also be enabled on devtools since the conversion from jsm to ESM is complete there.

There's one instance where there is code that could call it, but that code should be unused now.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/50f86f169ee8 Enable ESLint rule mozilla/reject-chromeutils-import on devtools as well. r=arai,devtools-reviewers,profiler-reviewers,julienw
Flags: needinfo?(standard8)

The damp tests need conversion from .jsm to .sys.mjs as well, I'm working on a fix.

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e56e647f8d5 Enable ESLint rule mozilla/reject-chromeutils-import on devtools as well. r=arai,devtools-reviewers,profiler-reviewers,julienw,frontend-codestyle-reviewers,perftest-reviewers,sparky
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: