Closed Bug 1885041 Opened 2 years ago Closed 2 years ago

Expand disallowing JSM based imports to everything except for devtools

Categories

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

Tracking

(firefox125 fixed)

RESOLVED FIXED
Tracking Status
firefox125 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [esmification-timeline])

Attachments

(1 file)

With the progress of esm-ification (bug 1308512), once bug 1861918 lands, we will be at the stage where everything apart from devtools has been converted.

Therefore we can expand the mozilla/reject-chromeutils-import rule to all of the tree apart from devtools.

This also catches a few more instances where we're now unnecessarily importing via JSM.

Depends on: 1861918
Whiteboard: [esmification-timeline]
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3328434b36f9 Expand disallowing JSM based imports via ESLint to everything except for devtools. r=arai,omc-reviewers,aminomancer,zombie
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: