mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
8f1e9b6089
Adding the polyfill as dependency to everything using mediawiki.Uri, so that we can change the code in separate commits without thinking about this. Bug: T325249 Change-Id: I8a7d2e6c7f98ed6187a85a88f2b4a0a4a5ecfc56
37 lines
676 B
JSON
37 lines
676 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client-es5",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jsduck"
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
}
|