Closed
Bug 1890330
Opened 6 months ago
Closed 5 months ago
Support new ESLint APIs in eslint-plugin-mozilla
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
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.
Assignee | ||
Comment 1•6 months ago
|
||
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
Comment 3•5 months ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•