mediawiki-extensions-Visual.../.eslintrc.json
Ed Sanders 651756c4fc eslint: Enable the mediawiki/class-doc rule and make pass
Also minor other adjustments

Change-Id: I9ee48359e3e53799f2f6240e44b53972283ce328
2020-04-17 22:59:11 +01:00

25 lines
494 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",
"mediawiki/valid-package-file-require": "warn"
}
}