mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
2098292318
This forces us to comment when we are doing this deliberately. Change-Id: Ide1bcb64f6c6076b48e88f1f27045bd93392f8a0
27 lines
612 B
JSON
27 lines
612 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"
|
|
}
|
|
}
|