mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
4c86c54e46
Add linting guards, except in preinit Change-Id: I999641eddb0e0f5b112ec2259dbafc1e816e3437
24 lines
444 B
JSON
24 lines
444 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client",
|
|
"wikimedia/jquery",
|
|
"wikimedia/mediawiki"
|
|
],
|
|
"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"
|
|
}
|
|
}
|