Closed Bug 1854948 Opened 1 year ago Closed 1 year ago

Remove support for Cu.import and XPCOMUtils.defineLazyModuleGetter from most of ESLint

Categories

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

Tracking

(firefox120 fixed)

RESOLVED FIXED
Tracking Status
firefox120 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In eslint-plugin-mozilla, we have support in various rules, and analysis of globals for Cu.import and XPCOMUtils.defineLazyModuleGetter.

These are both functions that are deprecated and no longer have used in mozilla-central.

We can therefore remove support from them and help simplify some of the code. The mozilla/use-chromeutils-import rule will still error for attempted use of them until we remove the functions themselves.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00ab9bc37951 Remove support for Cu.import and XPCOMUtils.defineLazyModuleGetter from most of ESLint. r=arai
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: