mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
013b7419bf
Use jsduck config Change-Id: I5cd7bbcee83b0fa148b8fb8c3b4adcf08f96cefc
26 lines
516 B
JSON
26 lines
516 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jsduck"
|
|
],
|
|
"globals": {
|
|
"ve": "readonly",
|
|
"VisualEditorSupportCheck": "readonly",
|
|
"OO": "readonly",
|
|
"unicodeJS": "readonly",
|
|
"RangeFix": "readonly",
|
|
"Papa": "readonly",
|
|
"require": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-jquery/no-deferred": "error",
|
|
"no-jquery/no-when": "error",
|
|
"no-jquery/no-visibility": "error",
|
|
"max-len": "off",
|
|
"mediawiki/valid-package-file-require": "warn"
|
|
}
|
|
}
|