mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
7248ad6332
The following sniffs are failing and were disabled: * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.WrongStyle * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage Additional changes: * Removed globals `OO`, `require`, included via `wikimedia/mediawiki` profile (T262222). Change-Id: If161f46db0a1f35126fecec141e29d15fa4f2532
24 lines
471 B
JSON
24 lines
471 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki",
|
|
"wikimedia/jsduck"
|
|
],
|
|
"globals": {
|
|
"ve": "readonly",
|
|
"VisualEditorSupportCheck": "readonly",
|
|
"unicodeJS": "readonly",
|
|
"RangeFix": "readonly",
|
|
"Papa": "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"
|
|
}
|
|
}
|