Skip to content

Report unused eslint directives#17898

Merged
JLHwung merged 2 commits intobabel:mainfrom
JLHwung:report-unused-eslint-disable
Apr 16, 2026
Merged

Report unused eslint directives#17898
JLHwung merged 2 commits intobabel:mainfrom
JLHwung:report-unused-eslint-disable

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Mar 24, 2026

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

With the linter option reportUnusedDisableDirectives enabled, ESLint will now report unused eslint-disable directives.

@babel-bot
Copy link
Copy Markdown
Collaborator

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 24, 2026

Open in StackBlitz

commit: ba5b1e6

@JLHwung JLHwung merged commit f1b855f into babel:main Apr 16, 2026
56 checks passed
@JLHwung JLHwung deleted the report-unused-eslint-disable branch April 16, 2026 18:25
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