Skip to content

Commit

Permalink
feat: Replace eslint-plugin-vitest with @vitest/eslint-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Dec 30, 2024
1 parent 4d369c5 commit a80f046
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions lib/configs/vitest.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @ts-check

import vitest from "eslint-plugin-vitest"
import vitest from "@vitest/eslint-plugin"

/** @type {import("eslint").Linter.Config} */
export default {
plugins: { vitest },
rules: {
...vitest.configs.all.rules,
...vitest.configs?.all.rules,
"vitest/no-hooks": "off",
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"@eslint/js": "^9.13.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitest/eslint-plugin": "^1.1.21",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-sort": "^4.0.0",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^15.11.0",
"typescript-eslint": "^8.11.0"
},
Expand Down

0 comments on commit a80f046

Please sign in to comment.