Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Sep 22, 2025

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

@vercel
Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
eslint-react Ready Ready Preview Comment Sep 22, 2025 0:16am

@Rel1cx Rel1cx marked this pull request as ready for review September 22, 2025 12:10
@Rel1cx Rel1cx requested a review from Copilot September 22, 2025 12: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

This PR removes support for legacy ESLint configuration formats across all ESLint React plugins. The changes eliminate the -legacy configuration variants and the supporting utility functions that were used to generate them.

  • Removes toLegacyConfig function and all legacy configuration variants
  • Updates imports to remove unused CompatibleConfig type
  • Simplifies plugin configuration exports by keeping only flat config format

Reviewed Changes

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

Show a summary per file
File Description
packages/plugins/eslint-plugin/src/index.ts Removes toLegacyConfig function and all -legacy config variants from main plugin
packages/plugins/eslint-plugin-react-x/src/index.ts Removes legacy config support from react-x plugin
packages/plugins/eslint-plugin-react-web-api/src/index.ts Removes legacy config support from react-web-api plugin
packages/plugins/eslint-plugin-react-naming-convention/src/index.ts Removes legacy config support from react-naming-convention plugin
packages/plugins/eslint-plugin-react-hooks-extra/src/index.ts Removes legacy config support from react-hooks-extra plugin
packages/plugins/eslint-plugin-react-dom/src/index.ts Removes legacy config support from react-dom plugin
packages/plugins/eslint-plugin-react-debug/src/index.ts Removes legacy config support from react-debug plugin

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Rel1cx Rel1cx force-pushed the remove-eslint-legacy-config branch from 4528454 to 2f2d28a Compare September 22, 2025 12:11
@Rel1cx Rel1cx merged commit 4615d4c into 2.0.0 Sep 22, 2025
10 of 11 checks passed
@Rel1cx Rel1cx deleted the remove-eslint-legacy-config branch September 22, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants