You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
slorber
changed the title
feat(eslint-plugin): Add support for ESLint flag config
break(eslint-plugin): Add ESLint flag configs, require ESLint >= 8.57May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLA SignedSigned Facebook CLApr: breaking changeExisting sites may not build successfully in the new version. Description contains more details.pr: new featureThis PR adds a new API or behavior.
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change
Our ESLint plugin now requires ESLint
>= 8.57.0Motivation
This adds support for ESLint flat config to our ESLint plugin, while preserving the legacy configs and compatibility with ESLint 8.
We'll drop legacy configs and ESLint 8 support in the future, so it's better to migrate to this new format and upgrade to ESLint 9/10+.
Extracted from a larger PR (#12024) so that we can document it separately as a feature + breaking change.
Test Plan
Unfortunately, we don't have a CI setup to test against multiple versions of ESLint atm.
Our monorepo still uses ESLint 8 on this PR, and CI passes, so this shows the compatibility with ESLint 8 is maintained.
The plugin code is the same in the ESLint 9 + flat config upgrade (#12024) which shows the same code works with both ESLint 8/9.
Test link
Docs updated: https://deploy-preview-12025--docusaurus-2.netlify.app/docs/api/misc/@docusaurus/eslint-plugin/