mediawiki-extensions-Visual.../.eslintrc.json
Ed Sanders 013b7419bf build: Update eslint-config-wikimedia to 0.16.2
Use jsduck config

Change-Id: I5cd7bbcee83b0fa148b8fb8c3b4adcf08f96cefc
2020-06-18 19:16:52 +01:00

26 lines
516 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki",
"wikimedia/jsduck"
],
"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"
}
}