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.
This commit is contained in:
silverwind authored and GitHub committed 2022-05-12 23:51:50 +08:00
1 parent 368baf9e77
commit e45738e3c9
3 files changed
+68

No files matched your search

+1
View File
@@ -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",