Closed Bug 1801591 Opened 1 year ago Closed 1 year ago

Enable eslint-plugin-eslint-plugin for eslint-plugin-mozilla

Categories

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

Tracking

(firefox111 fixed)

RESOLVED FIXED
Tracking Status
firefox111 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(4 files)

eslint-plugin-eslint-plugin is a small module that provides checks of ESLint rules themselves, e.g. checks against using obsolete APIs or missing metadata.

I think this would be useful to have as it currently shows up some usage of obsolete APIs, but generally ongoing these look to be useful checks to have when writing new rules.

eslint-plugin-eslint-plugin is license compatible: https://npmgraph.js.org/?q=eslint-plugin-eslint-plugin

Assignee: nobody → standard8
Status: NEW → ASSIGNED
Duplicate of this bug: 1762024

This helps ESLint validate that rules aren't being passed extra parameters when we aren't expecting them,
and fixes the eslint-plugin/require-meta-schema rule failures.

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5046f9a4bcff
Add missing schema definitions to eslint-plugin-mozilla rule metadata. r=mossop
https://hg.mozilla.org/integration/autoland/rev/270f89f1b2d5
Automatically fix eslint-plugin-eslint-plugin raised issues for our eslint-plugin-mozilla rules. r=mossop
https://hg.mozilla.org/integration/autoland/rev/ced89705dbf2
Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cccc70a862a5
Add schema definition for ESLint rule no-redeclare-with-import-autofix.js CLOSED TREE
Blocks: 1816783
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: