Add eslint-plugin configs#17956
Open
JLHwung wants to merge 2 commits into
Open
Conversation
Collaborator
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/61526 |
|
commit: |
liuxingbaoyu
approved these changes
Apr 29, 2026
Comment on lines
+4
to
+7
| export const rules: Record<string, SeverityString> = { | ||
| // ESLint core rules | ||
| // babel-eslint-plugin rules | ||
| }; |
Member
There was a problem hiding this comment.
Is there a reason for this?
Contributor
Author
There was a problem hiding this comment.
Good question. The recommended set is empty because none of official ESLint rules that we replaced are in the @eslint/js recommended set. However, if we add new rules in the future, the recommended set may add new rules. The placeholder is here such that we don't have to remove and add back the recommended set.
7b5f938 to
b18c1d7
Compare
b18c1d7 to
801c53d
Compare
liuxingbaoyu
approved these changes
May 11, 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR includes commits from #17950.In this PR we add two config presets
.recommendedand.allfor the@babel/eslint-pluginvia the.configsproperty. The naming convention aligns to the official ESLint plugin@eslint/js.