Skip to content
New issue

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

vitest/unbound-method does not work in legacy config #482

Closed
musjj opened this issue Jul 21, 2024 · 1 comment
Closed

vitest/unbound-method does not work in legacy config #482

musjj opened this issue Jul 21, 2024 · 1 comment

Comments

@musjj
Copy link

musjj commented Jul 21, 2024

This is my config:

module.exports = {
  extends: [
    "plugin:@typescript-eslint/recommended-type-checked",
    "plugin:@typescript-eslint/strict-type-checked",
    "plugin:@typescript-eslint/stylistic-type-checked",
    "plugin:vitest/legacy-recommended",
  ],
  plugins: ["@typescript-eslint", "vitest"],
  overrides: [
    {
      files: ["tests/**"],
      plugins: ["vitest"],
      rules: {
        "@typescript-eslint/unbound-method": "off",
        "vitest/unbound-method": "error",
      },
    },
  ]
}

But I'm getting a Definition for rule 'vitest/unbound-method' was not found. error in my editor.

@veritem
Copy link
Member

veritem commented Jul 21, 2024

unbound-method is a pending work. i haven't got time to finish it

check #359

@veritem veritem closed this as completed Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants