Closed Bug 1890330 Opened 1 month ago Closed 1 month ago

Support new ESLint APIs in eslint-plugin-mozilla

Categories

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

Tracking

(firefox126 fixed)

RESOLVED FIXED
Tracking Status
firefox126 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As part of migrating to ESLint v9, there are a set of APIs that we currently use which v9 removes, and we need to update to the newer APIs.

For now, we'll adapt eslint-plugin-mozilla to work with the APIs from before and after. This will allow consumers of eslint-plugin-mozilla to start using v9 whilst we're still sorting out the flat config parts.

I'm leaving the tests with ESLint v8 for now, since that's what we're currently using in mozilla-central.

This gets the ESLint plugin code in a state where it can work with the old APIs or the newer ESLint v9 ones.

The testing system will be updated to ESLint v9 when we do the main upgrade. However, in the meantime, this allows
consumers to start testing out v9 implementations.

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e78c077b155
Support new ESLint APIs in eslint-plugin-mozilla. r=frontend-codestyle-reviewers,Gijs
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: