mediawiki-extensions-Visual.../modules/eslint-shared.json

30 lines
549 B
JSON
Raw Permalink Normal View History

{
"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"
]
}
}