Merge "Forbid jQuery usage in Vector 2022"

This commit is contained in:
jenkins-bot 2023-04-17 23:13:04 +00:00 committed by Gerrit Code Review
commit 81ffde7668
4 changed files with 23 additions and 2 deletions

View file

@ -1,6 +1,10 @@
{
"root": true,
"plugins": [
"no-jquery"
],
"extends": [
"plugin:no-jquery/deprecated",
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"

3
package-lock.json generated
View file

@ -16,8 +16,9 @@
"@wikimedia/codex-icons": "0.8.0",
"@wikimedia/codex-search": "0.8.0",
"@wikimedia/mw-node-qunit": "7.0.0",
"@wikimedia/types-wikimedia": "^0.4.0",
"@wikimedia/types-wikimedia": "0.4.0",
"eslint-config-wikimedia": "0.24.0",
"eslint-plugin-no-jquery": "2.7.0",
"grunt-banana-checker": "0.10.0",
"jest": "27.4.7",
"jest-fetch-mock": "3.0.3",

View file

@ -29,8 +29,9 @@
"@wikimedia/codex-icons": "0.8.0",
"@wikimedia/codex-search": "0.8.0",
"@wikimedia/mw-node-qunit": "7.0.0",
"@wikimedia/types-wikimedia": "^0.4.0",
"@wikimedia/types-wikimedia": "0.4.0",
"eslint-config-wikimedia": "0.24.0",
"eslint-plugin-no-jquery": "2.7.0",
"grunt-banana-checker": "0.10.0",
"jest": "27.4.7",
"jest-fetch-mock": "3.0.3",

View file

@ -0,0 +1,15 @@
{
"rules": {
"jquery/no-class": "off",
"jquery/no-extend": "off",
"jquery/no-animate": "off",
"jquery/no-find": "off",
"jquery/no-attr": "off",
"jquery/no-trigger": "off",
"jquery/no-hide": "off",
"jquery/no-each": "off",
"jquery/no-css": "off",
"jquery/no-data": "off",
"jquery/no-parent": "off"
}
}