Skip to content

chore: update eslint-plugin-eslint-plugin to v7#394

Merged
DMartens merged 2 commits intomainfrom
chore/update-eslint-plugin-eslint-plugin-to-v7
Mar 10, 2026
Merged

chore: update eslint-plugin-eslint-plugin to v7#394
DMartens merged 2 commits intomainfrom
chore/update-eslint-plugin-eslint-plugin-to-v7

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Mar 7, 2026

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

Note

This PR follows the same pattern used in eslint/json#219.

This PR updates eslint-plugin-eslint-plugin to the latest v7.

According to the changelog, two changes affect us: the recommended rules have been updated, and the flat/ prefix is no longer necessary.

https://github.com/eslint-community/eslint-plugin-eslint-plugin/releases/tag/v7.0.0

The Node.js supported version range now matches what we’ve been using since v7.3.2, so this update appears safe.

What changes did you make? (Give an overview)

This PR updates eslint-plugin-eslint-plugin to the latest v7.

Related Issues

N/A

Is there anything you'd like reviewers to focus on?

I've disabled eslint-plugin/require-meta-schema-description because the schema description doesn't seem particularly useful for our use case. Other feedback is welcome.

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Mar 7, 2026
@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage Mar 7, 2026
//-----------------------------------------------------------------------------

/**
* Represents a property that is supported via @supports.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newly updated eslint-config-eslint@14 now warns about invalid JSDoc patterns that use @. I've updated this PR accordingly, since it was a small change.

@lumirlumir lumirlumir moved this from Implementing to Needs Triage in Triage Mar 10, 2026
@lumirlumir lumirlumir marked this pull request as ready for review March 10, 2026 08:10
Copilot AI review requested due to automatic review settings March 10, 2026 08:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s linting tooling to eslint-plugin-eslint-plugin v7 and adjusts the flat-config integration accordingly, aligning with upstream config key changes and updated recommended rules.

Changes:

  • Bump eslint-plugin-eslint-plugin from ^6.3.2 to ^7.3.2.
  • Update eslint.config.js to use v7 config keys (drop flat/ prefix) and disable eslint-plugin/require-meta-schema-description.
  • Minor JSDoc formatting tweaks to wrap @...-prefixed terms in backticks.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/rules/use-baseline.js JSDoc text updated to format @supports as code.
src/languages/css-language.js JSDoc text updated to format @eslint/... package references as code.
package.json Updates eslint-plugin-eslint-plugin devDependency to ^7.3.2.
eslint.config.js Switches to v7 config names (rules-recommended, tests-recommended) and disables a newly-recommended rule.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@DMartens
Copy link

Changes LGTM, thank you.

@DMartens DMartens merged commit 26aa934 into main Mar 10, 2026
37 checks passed
@DMartens DMartens deleted the chore/update-eslint-plugin-eslint-plugin-to-v7 branch March 10, 2026 22:33
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants