Closed Bug 1907846 Opened 4 months ago Closed 4 months ago

Extend eslint-plugin-spidermonkey-js to support flat config

Categories

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

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

As part of moving to flat config, we'll need to update eslint-plugin-spidermonkey-js to support the new format. There isn't too much that needs doing, mainly adding the meta data, and avoiding looking for .eslintignore, however this will help with the move to flat-config.

This switches to checking for the package.json whose name is mozilla-central, which should be more
reliable than checking for .eslintignore, and ensures that we're compatible with flat config which
will remove .eslintignore.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aa337f1787ba Change how our eslint-plugin-* modules determine the root source directory. r=frontend-codestyle-reviewers,mossop https://hg.mozilla.org/integration/autoland/rev/ec9204534d88 Add ESLint flat config support to eslint-plugin-spidermonkey-js. r=frontend-codestyle-reviewers
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: