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": [
|
2021-03-10 23:19:34 +00:00
|
|
|
"wikimedia/client-es5",
|
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-10-28 17:50:02 +00:00
|
|
|
"Papa": "readonly"
|
2016-10-28 00:22:30 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2021-10-25 15:51:29 +00:00
|
|
|
"no-jquery/no-append-html": "error",
|
2019-11-02 16:29:11 +00:00
|
|
|
"no-jquery/no-deferred": "error",
|
2021-11-15 17:25:51 +00:00
|
|
|
"no-jquery/no-extend": "error",
|
2021-11-15 17:03:35 +00:00
|
|
|
"no-jquery/no-html": [ "error", { "allowGetOrSet": "get" } ],
|
2019-11-02 16:29:11 +00:00
|
|
|
"no-jquery/no-when": "error",
|
2019-11-01 16:20:22 +00:00
|
|
|
"no-jquery/no-visibility": "error",
|
2021-10-13 12:54:46 +00:00
|
|
|
"max-len": "off",
|
2020-04-16 22:55:04 +00:00
|
|
|
"mediawiki/valid-package-file-require": "warn"
|
2016-10-28 00:22:30 +00:00
|
|
|
}
|
|
|
|
}
|