Skip to content

Commit

Permalink
fix: replace eslint-plugin-vitest with @vitest/eslint-plugin (fixes #97)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jan 13, 2025
1 parent b8598fb commit d306243
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 182 deletions.
2 changes: 1 addition & 1 deletion configurations/vitest.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports.recommended = {
plugins: {
vitest: require('eslint-plugin-vitest'),
vitest: require('@vitest/eslint-plugin'),
},
rules: {
'vitest/expect-expect': 2,
Expand Down
201 changes: 21 additions & 180 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@stylistic/eslint-plugin": "^2.12.1",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"@vitest/eslint-plugin": "^1.1.25",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-ava": "^15.0.1",
Expand All @@ -33,7 +34,6 @@
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-vitest": "^0.5.4",
"eslint-plugin-yml": "^1.16.0",
"eslint-plugin-zod": "^1.4.0",
"globals": "^15.14.0",
Expand Down

0 comments on commit d306243

Please sign in to comment.