Skip to content

Commit

Permalink
Replace eslint-plugin-vitest with @vitest/eslint-plugin
Browse files Browse the repository at this point in the history
Per vitest-dev/eslint-plugin-vitest#537. Also resolves some peer deps issues.
  • Loading branch information
ahuth committed Sep 23, 2024
1 parent d3c5b6f commit 9423b8b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 237 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const globals = require('globals');
const js = require('@eslint/js');
const vitest = require('@vitest/eslint-plugin');
const prettierRecommended = require('eslint-plugin-prettier/recommended');
const react = require('eslint-plugin-react');
const globals = require('globals');
const typescriptEslint = require('typescript-eslint');
const vitest = require('eslint-plugin-vitest');

/** @type {import("eslint").Linter.Config[]} */
module.exports = [
Expand Down
259 changes: 25 additions & 234 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 @@ -65,12 +65,12 @@
"@types/mocha": "^10.0.8",
"@types/node": "^22.5.5",
"@types/yargs": "^17.0.33",
"@vitest/eslint-plugin": "^1.1.4",
"axe-core": "^4.10.0",
"eslint": "^9.11.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-vitest": "^0.5.4",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down

0 comments on commit 9423b8b

Please sign in to comment.