mediawiki-extensions-Visual.../.eslintrc.json
Ed Sanders 4c86c54e46 Replace $.when with ve.promiseAll
Add linting guards, except in preinit

Change-Id: I999641eddb0e0f5b112ec2259dbafc1e816e3437
2019-11-04 22:06:54 +08:00

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"
}
}