summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-09-27 22:10:08 +0800
committerGitHub <noreply@github.com>2023-09-27 16:10:08 +0200
commitd74fba8175ad3ab80427982ad7c1d9c4a1ee757b (patch)
treef734f21db0359b812f7e5e0534e3101adada50ee /package.json
parente4cf9d22a70751410ac79f0d5de4a02fac6295db (diff)
downloadgitea-d74fba8175ad3ab80427982ad7c1d9c4a1ee757b.tar.gz
gitea-d74fba8175ad3ab80427982ad7c1d9c4a1ee757b.zip
Use vitest globals (#27102) (#27311)
Backport #27102 by @silverwind Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing the noise in test files. Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 94c30030d5..fb0ee33998 100644
--- a/package.json
+++ b/package.json
@@ -66,6 +66,7 @@
"eslint-plugin-regexp": "1.15.0",
"eslint-plugin-sonarjs": "0.21.0",
"eslint-plugin-unicorn": "48.0.1",
+ "eslint-plugin-vitest-globals": "1.4.0",
"eslint-plugin-vue": "9.17.0",
"eslint-plugin-vue-scoped-css": "2.5.0",
"eslint-plugin-wc": "2.0.3",