aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-10-19 21:51:56 +0200
committerGitHub <noreply@github.com>2023-10-19 21:51:56 +0200
commitbd5826695708bb40721834d2668ec2460d8852cb (patch)
treed6645f7e3e2046904791a5494b67b3d578100abe /package.json
parentadbc995c347e158a56264f2488997d7d59a4dd8b (diff)
downloadgitea-bd5826695708bb40721834d2668ec2460d8852cb.tar.gz
gitea-bd5826695708bb40721834d2668ec2460d8852cb.zip
Update and add new eslint plugins (#27698)
- Switch `eslint-plugin-import` to [`eslint-plugin-i`](https://github.com/un-es/eslint-plugin-i), a fork with better dependencies - Update `eslint-plugin-regexp` to 2.0.0 and add new rules - Add [`eslint-plugin-vitest`](https://github.com/veritem/eslint-plugin-vitest)
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 2672067b35..c95ca6dbbc 100644
--- a/package.json
+++ b/package.json
@@ -59,13 +59,14 @@
"@vitejs/plugin-vue": "4.4.0",
"eslint": "8.51.0",
"eslint-plugin-array-func": "4.0.0",
- "eslint-plugin-import": "2.28.1",
+ "eslint-plugin-i": "2.28.1",
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-no-jquery": "2.7.0",
"eslint-plugin-no-use-extend-native": "0.5.0",
- "eslint-plugin-regexp": "1.15.0",
+ "eslint-plugin-regexp": "2.0.0",
"eslint-plugin-sonarjs": "0.21.0",
"eslint-plugin-unicorn": "48.0.1",
+ "eslint-plugin-vitest": "0.3.2",
"eslint-plugin-vitest-globals": "1.4.0",
"eslint-plugin-vue": "9.17.0",
"eslint-plugin-vue-scoped-css": "2.5.1",