mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
821fb74c1b
Additional changes: * eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085). Change-Id: I6d406d9020ce243aabc87c921ec23574267a3f78
24 lines
475 B
JSON
24 lines
475 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-deferred": "error",
|
|
"no-jquery/no-when": "error",
|
|
"no-jquery/no-visibility": "error",
|
|
"max-len": "off",
|
|
"mediawiki/valid-package-file-require": "warn"
|
|
}
|
|
}
|