Skip to content

Commit e272736

Browse files
committed
Bump minimum @vitest/eslint-plugin version
1 parent 3fd09b1 commit e272736

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ All peer dependencies used by `@code-pushup/eslint-config` are listed below, alo
8282
| ![typescript](./docs/icons/material/typescript.png) | [typescript-eslint](https://www.npmjs.com/package/typescript-eslint) | `^8.0.0` ||
8383
| ![graphql](./docs/icons/material/graphql.png) | [@graphql-eslint/eslint-plugin](https://www.npmjs.com/package/@graphql-eslint/eslint-plugin) | `^3.0.0` | |
8484
| ![ngrx](./docs/icons/other/ngrx.png) | [@ngrx/eslint-plugin](https://www.npmjs.com/package/@ngrx/eslint-plugin) | `^18.0.0 \|\| ^19.0.0` | |
85-
| ![vitest](./docs/icons/material/vitest.png) | [@vitest/eslint-plugin](https://www.npmjs.com/package/@vitest/eslint-plugin) | `^1.0.0` | |
85+
| ![vitest](./docs/icons/material/vitest.png) | [@vitest/eslint-plugin](https://www.npmjs.com/package/@vitest/eslint-plugin) | `^1.1.9` | |
8686
| ![angular](./docs/icons/material/angular.png) | [angular-eslint](https://www.npmjs.com/package/angular-eslint) | `^18.0.0 \|\| ^19.0.0` | |
8787
| ![cypress](./docs/icons/material/cypress.png) | [eslint-plugin-cypress](https://www.npmjs.com/package/eslint-plugin-cypress) | `>=3.3.0` | |
8888
| ![jest](./docs/icons/material/jest.png) | [eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest) | `^28.8.0` | |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@eslint/js": "^9.0.0",
4949
"@graphql-eslint/eslint-plugin": "^3.0.0",
5050
"@ngrx/eslint-plugin": "^18.0.0 || ^19.0.0",
51-
"@vitest/eslint-plugin": "^1.0.0",
51+
"@vitest/eslint-plugin": "^1.1.9",
5252
"angular-eslint": "^18.0.0 || ^19.0.0",
5353
"eslint": "^9.0.0",
5454
"eslint-import-resolver-typescript": "^3.0.0",

src/configs/vitest.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,11 @@ export default tseslint.config({
5656
'vitest/prefer-to-contain': 'warn',
5757
'vitest/prefer-to-have-length': 'warn',
5858
'vitest/prefer-todo': 'warn',
59-
// from v1.1.6 onwards
60-
...('prefer-vi-mocked' in vitest.rules && {
61-
'vitest/prefer-vi-mocked': 'warn',
62-
}),
59+
'vitest/prefer-vi-mocked': 'warn',
6360
'vitest/require-hook': 'warn',
6461
'vitest/require-to-throw-message': 'warn',
6562
'vitest/require-top-level-describe': 'warn',
66-
// from v1.1.9 onwards
67-
...('valid-expect-in-promise' in vitest.rules && {
68-
'vitest/valid-expect-in-promise': 'error',
69-
}),
63+
'vitest/valid-expect-in-promise': 'error',
7064
},
7165
},
7266
],

0 commit comments

Comments
 (0)