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

globals do not match with vitest/globals.d.ts #598

Closed
yongholeeme opened this issue Dec 17, 2024 · 0 comments · Fixed by #599
Closed

globals do not match with vitest/globals.d.ts #598

yongholeeme opened this issue Dec 17, 2024 · 0 comments · Fixed by #599

Comments

@yongholeeme
Copy link
Contributor

yongholeeme commented Dec 17, 2024

The globals defined in @vitest/eslint-plugin (source) are not synchronized with the official type definitions in vitest/globals.d.ts (source).

This inconsistency could lead to confusion and potential issues when using ESLint with Vitest. The globals should be aligned between these two official packages.

assertType, expectTypeOf, onTestFailed, and onTestFinished need to be added to globals

yongholeeme added a commit to yongholeeme/eslint-plugin-vitest that referenced this issue Dec 17, 2024
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 a pull request may close this issue.

1 participant