Skip to content

Commit f2e4ff3

Browse files
committed
use eslint-plugin-vitest-globals instead of jest env
1 parent f1f5401 commit f2e4ff3

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.eslintrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ overrides:
4848
import/no-unused-modules: [0]
4949
- files: ["**/*.test.*"]
5050
env:
51-
jest: true
51+
vitest-globals/env: true
5252

5353
rules:
5454
"@eslint-community/eslint-comments/disable-enable-pair": [2]

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"eslint-plugin-regexp": "1.15.0",
6868
"eslint-plugin-sonarjs": "0.21.0",
6969
"eslint-plugin-unicorn": "48.0.1",
70+
"eslint-plugin-vitest-globals": "1.4.0",
7071
"eslint-plugin-vue": "9.17.0",
7172
"eslint-plugin-vue-scoped-css": "2.5.0",
7273
"eslint-plugin-wc": "1.5.0",

0 commit comments

Comments
 (0)