mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Merge "Forbid jQuery usage in Vector 2022"
This commit is contained in:
commit
81ffde7668
|
@ -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
3
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
15
resources/skins.vector.legacy.js/.eslintrc.json
Normal file
15
resources/skins.vector.legacy.js/.eslintrc.json
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue