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: Use types from @types/eslint #28

Merged
merged 1 commit into from
May 30, 2024
Merged

fix: Use types from @types/eslint #28

merged 1 commit into from
May 30, 2024

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented May 27, 2024

In order to better work with existing types, switching to use @types/eslint type definitions for the @eslint/compat package.

fixes #25

@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label May 27, 2024
Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

I tested this locally with both examples from #25 and wasn't getting any type errors.

@mdjermanovic mdjermanovic merged commit e94f435 into main May 30, 2024
14 checks passed
@mdjermanovic mdjermanovic deleted the compat-types branch May 30, 2024 14:10
@github-actions github-actions bot mentioned this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Bug: @eslint/compat types incompatible with both typescript-eslint and @types/eslint
2 participants