We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
valid-expect
Hi, thanks for such a great plugin, it helps a lot )
Based on tests seems like the rule valid-expect doesn't (or not entirely) supports typecheck
import { describe, expectTypeOf, test } from "vitest" describe("valid-expect", () => { test("cases", async () => { const fn = (arg: string): number => Number(arg) expectTypeOf(fn).toBeFunction() // OK expectTypeOf(fn).parameter(0).toMatchTypeOf<string>() // OK expectTypeOf(fn).returns.toMatchTypeOf<number>() // Fail: Expect has unknown modifier eslint test/valid-expect }) })
Do you have any plans to fix or add support for it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, thanks for such a great plugin, it helps a lot )
Based on tests seems like the rule
valid-expect
doesn't (or not entirely) supports typecheckDo you have any plans to fix or add support for it?
The text was updated successfully, but these errors were encountered: