mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-21 02:22:51 +00:00
60c2239e06
Change-Id: I872ab9dd7844eb8885dc30b40a2429875f7591c7
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"
|
|
}
|
|
}
|