You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
yongholeeme
added a commit
to yongholeeme/eslint-plugin-vitest
that referenced
this issue
Dec 17, 2024
The globals defined in
@vitest/eslint-plugin
(source) are not synchronized with the official type definitions invitest/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
, andonTestFinished
need to be added to globalsThe text was updated successfully, but these errors were encountered: