mediawiki-extensions-Visual.../.eslintrc.json
Esanders aaf27e3901 Revert "build: Remove max-len over-ride (leave as warning)"
This reverts commit 2c75722ff1.

Reason for revert: Creates too much warning spam (>50) which makes
errors hard to spot. Most of these should be fixed before enforcing
the rule.

Change-Id: I8a785ec73d3429d4681d5c965a0efdbf0c86893d
2021-10-13 12:54:46 +00:00

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