mediawiki-extensions-Visual.../modules/eslint-shared.json
Ed Sanders e4ce6db868 Update eslint-config-wikimedia to 0.24.0
Change-Id: I8299d287721eee6cb6d2354836e82812bf57badd
2023-01-18 14:39:04 +00:00

30 lines
549 B
JSON

{
"globals": {
"ve": "readonly",
"VisualEditorSupportCheck": "readonly",
"unicodeJS": "readonly",
"RangeFix": "readonly",
"Papa": "readonly"
},
"rules": {
"no-jquery/no-append-html": "error",
"no-jquery/no-deferred": "error",
"no-jquery/no-extend": "error",
"no-jquery/no-html": [
"error",
{
"allowGetOrSet": "get"
}
],
"no-jquery/no-when": "error",
"no-jquery/no-visibility": "error",
"max-len": "off",
"mediawiki/valid-package-file-require": "warn"
},
"settings": {
"polyfills": [
"URL"
]
}
}