aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-27 04:08:16 +0200
committerGitHub <noreply@github.com>2023-04-26 22:08:16 -0400
commit50133b02bd381b7ee4da1ec4b7b637d5b7552678 (patch)
tree88482ba6c25ed952fa4b84f7d92363ac231603ad /package.json
parentcf465b472166ccf6d3e001e3043e4bf43e16e6b3 (diff)
downloadgitea-50133b02bd381b7ee4da1ec4b7b637d5b7552678.tar.gz
gitea-50133b02bd381b7ee4da1ec4b7b637d5b7552678.zip
Add eslint-plugin-regexp (#24361)
Add [`eslint-plugin-regexp`](https://github.com/ota-meshi/eslint-plugin-regexp) and fix discovered issues. Config is mostly the recommended one, but I relaxed a few rules.
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 ae3b7446fe..05b9fed90e 100644
--- a/package.json
+++ b/package.json
@@ -65,6 +65,7 @@
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-no-jquery": "2.7.0",
+ "eslint-plugin-regexp": "1.14.0",
"eslint-plugin-sonarjs": "0.19.0",
"eslint-plugin-unicorn": "46.0.0",
"eslint-plugin-vue": "9.11.0",