aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-02-16 22:41:23 +0100
committerGitHub <noreply@github.com>2024-02-16 21:41:23 +0000
commit26b17537e651fe93ef9b64f961633cb4c0b8c2c3 (patch)
tree6c79c4b8f5ab79c6b6315b9da9ec3f6d64b48423 /package.json
parentd8d4b33b31d959e4b600cc90a7fa1779b69cadf5 (diff)
downloadgitea-26b17537e651fe93ef9b64f961633cb4c0b8c2c3.tar.gz
gitea-26b17537e651fe93ef9b64f961633cb4c0b8c2c3.zip
Add `eslint-plugin-github` and fix issues (#29201)
This plugin has a few useful rules. The only thing I dislike about it is that it pulls in a rather big number of dependencies for react-related rules we don't use, but it can't really be avoided. Rule docs: https://github.com/github/eslint-plugin-github?tab=readme-ov-file#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 3d753a567c..fdea78ca29 100644
--- a/package.json
+++ b/package.json
@@ -67,6 +67,7 @@
"@vitejs/plugin-vue": "5.0.4",
"eslint": "8.56.0",
"eslint-plugin-array-func": "4.0.0",
+ "eslint-plugin-github": "4.10.1",
"eslint-plugin-i": "2.29.1",
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-no-jquery": "2.7.0",