2016-10-28 00:22:30 +00:00
|
|
|
{
|
2018-12-18 02:59:43 +00:00
|
|
|
"root": true,
|
2018-11-21 12:33:32 +00:00
|
|
|
"extends": [
|
|
|
|
"wikimedia/client",
|
2019-11-01 16:20:22 +00:00
|
|
|
"wikimedia/jquery",
|
2020-06-18 18:16:52 +00:00
|
|
|
"wikimedia/mediawiki",
|
|
|
|
"wikimedia/jsduck"
|
2018-11-21 12:33:32 +00:00
|
|
|
],
|
2016-10-28 00:22:30 +00:00
|
|
|
"globals": {
|
2019-10-04 13:42:14 +00:00
|
|
|
"ve": "readonly",
|
|
|
|
"VisualEditorSupportCheck": "readonly",
|
|
|
|
"unicodeJS": "readonly",
|
|
|
|
"RangeFix": "readonly",
|
2020-12-31 11:36:31 +00:00
|
|
|
"Papa": "readonly"
|
2016-10-28 00:22:30 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2019-11-02 16:29:11 +00:00
|
|
|
"no-jquery/no-deferred": "error",
|
|
|
|
"no-jquery/no-when": "error",
|
2019-11-01 16:20:22 +00:00
|
|
|
"no-jquery/no-visibility": "error",
|
2020-04-16 22:55:04 +00:00
|
|
|
"max-len": "off",
|
|
|
|
"mediawiki/valid-package-file-require": "warn"
|
2016-10-28 00:22:30 +00:00
|
|
|
}
|
|
|
|
}
|