diff options
author | silverwind <me@silverwind.io> | 2022-05-12 17:51:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 23:51:50 +0800 |
commit | e45738e3c9a918da6bdb003043ce1bef0a07b50f (patch) | |
tree | 8205bbfb81fa55263a7278d93434d21251dd02b5 /package.json | |
parent | 368baf9e77606e5de8bbcda8b0348f1a6fba6d73 (diff) | |
download | gitea-e45738e3c9a918da6bdb003043ce1bef0a07b50f.tar.gz gitea-e45738e3c9a918da6bdb003043ce1bef0a07b50f.zip |
Introduce eslint-plugin-jquery (#19690)
Introduce the plugin that allows us to gradually forbid jQuery code.
I've enabled all rules that already pass.
Next step will be to go through each rule and fix the issues by using
native DOM equivalents, which I think can be done in separate PRs, but
if prefered I could also start here.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 21368a8389..7d75ce54cc 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "eslint": "8.15.0", "eslint-plugin-html": "6.2.0", "eslint-plugin-import": "2.26.0", + "eslint-plugin-jquery": "1.5.1", "eslint-plugin-unicorn": "42.0.0", "eslint-plugin-vue": "8.7.1", "jest": "28.1.0", |