Skip to content

linter: both jest + vitest versions of the rule need to be disabled #21853

Description

@camc314

Given:

{
  "plugins": [
    "typescript",
    "unicorn",
    "react",
    "react-perf",
    "oxc",
    "import",
    "jsdoc",
    "node",
    "promise",
    "vitest"
  ],
  "overrides": [
    {
      "files": ["tasks/e2e/test/*.test.ts"],
      "rules": {
        "jest/valid-title": ["off"],
        "vitest/valid-title": ["off"]
      }
    },
}

I would expect not to have to disable jest/valid-title since I haven't enabled the jest plugin.

iirc the problem is valid-title is in the correctness category, and when vitest plugin is enabled, the jest plugin is implicitly enabled

Caused by #21664

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linterArea - LinterC-bugCategory - Bug

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions