2019-12-26 07:08:10 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"extends": [
|
2021-04-20 20:38:12 +00:00
|
|
|
"wikimedia/client-es6",
|
2019-12-26 07:18:54 +00:00
|
|
|
"wikimedia/mediawiki"
|
2020-02-15 22:24:52 +00:00
|
|
|
],
|
|
|
|
"globals": {
|
2020-07-22 21:04:11 +00:00
|
|
|
"require": "readonly",
|
|
|
|
"module": "readonly"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"one-var": "off",
|
2021-01-07 00:28:39 +00:00
|
|
|
"//": [
|
|
|
|
"off",
|
|
|
|
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
|
|
|
|
],
|
2021-04-27 16:57:54 +00:00
|
|
|
"no-implicit-globals": "off",
|
|
|
|
"es/no-object-fromentries": "off",
|
|
|
|
"es/no-object-entries": "off"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 11
|
2020-02-15 22:24:52 +00:00
|
|
|
}
|
2020-07-22 21:04:11 +00:00
|
|
|
}
|