Skip to content

Remove eslint-plugin-no-only-tests in favour of @vitest/eslint-plugin's no-focused-tests rule #863

Description

@yungando

Clear and concise description of the problem

no-only-tests is the only rule that eslint-plugin-no-only-tests provides.

Having a dependency just for a single rule seems unnecessary when the vitest eslint plugin provides one with the same functionality.

Suggested solution

Remove dependency on eslint-plugin-no-only-tests and add the vitest equivalent to the test config. Set it's fixable param to false to preserve it's current functionality:

'test/no-focused-tests': ['error', { fixable: false }],

Alternative

No response

Additional context

No response

Validations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions