Skip to content

chore: cleanup eslint config - #18556

Merged
JLHwung merged 1 commit into
babel:mainfrom
JLHwung:chore-eslint-config-cleanup
Nov 9, 2026
Merged

JLHwung merged 1 commit into
babel:mainfrom
JLHwung:chore-eslint-config-cleanup

Conversation

@JLHwung

@JLHwung JLHwung commented Nov 8, 2026

Copy link
Copy Markdown
Contributor
Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
Need backport? No
License MIT

In this PR we drop rule entries that don't change the resolved config of any linted file. Because the resolved config is the same, there is no linting changes in the source code. This PR is drafted with the help of LLM to investigate each ruleset and each custom overriden rules.

  • no-case-declarations and @typescript-eslint/require-await are already enabled by @eslint/js and typescript-eslint recommended
  • @typescript-eslint/no-empty-interface: off: no preset enables it in v8
  • jest/no-test-callback / jest/valid-describe: no longer exist in eslint-plugin-jest, the eslint-plugin-jest. They were renamed to no-done-callback and valid-describe-callback, which are still enabled by the recommended ruleset
  • comma-dangle: off: already disabled by eslint-config-prettier
  • the Makefile.source.mjs override: the file is now Makefile.source.ts and it does have any lint errors

Assisted-by: Claude Opus 5.5

Drop rule entries that don't change the resolved config of any linted file:

- `no-case-declarations` and `@typescript-eslint/require-await` are already
  enabled by `@eslint/js` and typescript-eslint recommended
- `@typescript-eslint/no-empty-interface: off`: no preset enables it in v8
- `jest/no-test-callback` / `jest/valid-describe`: no longer exist in
  eslint-plugin-jest, the eslint-plugin-jest. They were renamed to no-done-callback and valid-describe-callback, which are still enabled by the recommended ruleset
- `comma-dangle: off`: already disabled by eslint-config-prettier
- the `Makefile.source.mjs` override: the file is now `Makefile.source.ts` and it does have any lint errors

Assisted-by: Claude Opus 5.5
@JLHwung JLHwung added the PR: Internal 🏠 A type of pull request used for our changelog categories label Nov 8, 2026
@babel-bot

Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/63089

@pkg-pr-new

pkg-pr-new Bot commented Nov 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

commit: 03dca06

@JLHwung
JLHwung added this pull request to the merge queue Nov 9, 2026
Merged via the queue into babel:main with commit 323efec Nov 9, 2026
53 checks passed
@JLHwung
JLHwung deleted the chore-eslint-config-cleanup branch November 9, 2026 14:10
JLHwung added a commit to JLHwung/babel that referenced this pull request Nov 10, 2026
Drop rule entries that don't change the resolved config of any linted file:

- `no-case-declarations` and `@typescript-eslint/require-await` are already
  enabled by `@eslint/js` and typescript-eslint recommended
- `@typescript-eslint/no-empty-interface: off`: no preset enables it in v8
- `jest/no-test-callback` / `jest/valid-describe`: no longer exist in
  eslint-plugin-jest, the eslint-plugin-jest. They were renamed to no-done-callback and valid-describe-callback, which are still enabled by the recommended ruleset
- `comma-dangle: off`: already disabled by eslint-config-prettier
- the `Makefile.source.mjs` override: the file is now `Makefile.source.ts` and it does have any lint errors

Assisted-by: Claude Opus 5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Internal 🏠 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants