mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-05 03:08:37 +00:00
32 lines
627 B
JSON
32 lines
627 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"
|
||
|
}
|
||
|
}
|