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(eslint): fix async support for formatter option and TypeScript types #1389

Merged
merged 6 commits into from
Jan 13, 2023

Conversation

surmon-china
Copy link
Contributor

Rollup Plugin Name: eslint

This PR contains:

  • bugfix

Are tests included?

  • yes (bugfixes and features will not be merged without tests)

Breaking Changes?

  • no

List any relevant issue numbers:

Description

  1. ESLint's CLIEngine class has been deprecated, so the latest @types/eslint 8.x no longer exports the CLIEngine type, so the latest version of @rollup/plugin-eslint formatter is inferred to have the wrong argument type.

  2. The latest type of ESLint.Formatter allows to return async values, while the current @rollup/plugin-eslint only supports sync function.

@surmon-china
Copy link
Contributor Author

@shellscape

@shellscape
Copy link
Collaborator

You just put your PR up yesterday. Please exercise patience. Much of the US is on vacation with their families right now.

@surmon-china surmon-china requested review from shellscape and removed request for danielgindi, tjenkinson, Andarist and lukastaegert January 2, 2023 17:05
@shellscape shellscape merged commit f39e8c9 into rollup:master Jan 13, 2023
@shellscape
Copy link
Collaborator

thanks!

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