Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Unknown options: reportUnusedDisableDirectives #395

Merged
merged 1 commit into from Jan 17, 2024

Conversation

cunzaizhuyi
Copy link
Contributor

Error: Invalid Options:

  • Unknown options: reportUnusedDisableDirectives
  • 'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.

@antfu antfu merged commit 2e1117e into antfu:main Jan 17, 2024
@antfu
Copy link
Owner

antfu commented Jan 17, 2024

The options do not seem to exist; where did you find the reference?

https://github.com/eslint/eslint/blob/39076fb5e4c7fa10b305d510f489aff34a5f5d99/lib/config/default-config.js#L46C1-L48

@cunzaizhuyi
Copy link
Contributor Author

This seems to be a bug in WebStorm.
https://youtrack.jetbrains.com/issue/WEB-64696/ESLint-8.56.0-Breaks-Flat-Config-reportUnusedDisableDirectives-Removed

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.

None yet

2 participants