Skip to content

Proposal: Replicate jest-dom rules in eslint-plugin-vitest #704

@adammccullagh

Description

@adammccullagh

Now that Vitest has forked @testing-library/jest-dom (see vitest-dev/vitest#7605) rather than bundling it, it’s likely that projects using Vitest will also want direct, inbuilt linting support for these matchers.

Currently, eslint-plugin-jest-dom can be used to lint matchers like toBeInTheDocument, toHaveAttribute, etc.

Are there any plans to support equivalent rules in eslint-plugin-vitest, or to officially recommend continued use of eslint-plugin-jest-dom?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions