mediawiki-skins-Vector/.eslintrc.json
Jon Robson 48d8ad0415 Forbid jQuery in new code
Follow up to I9d07acffa6f8133ec3e44ceba3d1fa5b27b81258

Change-Id: I5240c414cc4f4e4cc832647791b4a2c96acbc845
2023-06-13 15:45:43 -07:00

43 lines
969 B
JSON

{
"root": true,
"plugins": [
"no-jquery"
],
"extends": [
"plugin:no-jquery/all",
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"env": {
"browser": true
},
"globals": {
"exports": true
},
"parserOptions": {
"sourceType": "module"
},
"settings": {},
"rules": {
"no-jquery/no-other-utils": "error",
"no-jquery/no-trigger": "error",
"no-jquery/no-jquery-constructor": "error",
"no-jquery/no-find-collection": "error",
"no-jquery/no-attr": "error",
"no-jquery/no-class": "error",
"no-jquery/no-text": "error",
"no-jquery/no-css": "error",
"no-jquery/no-other-methods": "error",
"no-jquery/no-html": "error",
"no-jquery/no-class-state": "error",
"no-jquery/no-deferred": "error",
"no-jquery/no-when": "error",
"no-jquery/no-extend": "error",
"mediawiki/no-nodelist-unsupported-methods": "off",
"jsdoc/no-undefined-types": "off",
"compat/compat": "off",
"mediawiki/class-doc": "off"
}
}