mediawiki-skins-Vector/resources/.eslintrc.json
Ed Sanders 1aec6764ad build: Use wikimedia/server for root folder eslint config
Change-Id: I8b6938f2ac935724cf80e01096591e6a4c0cbbe0
2023-09-04 18:13:32 +01: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"
}
}