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
|
|
|
],
|
2022-12-05 20:08:18 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
2020-02-15 22:24:52 +00:00
|
|
|
"globals": {
|
2022-12-05 20:08:18 +00:00
|
|
|
"exports": true
|
2020-07-22 21:04:11 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2022-12-05 20:08:18 +00:00
|
|
|
"no-implicit-globals": "warn",
|
|
|
|
"es-x/no-async-functions": "warn",
|
|
|
|
"es-x/no-object-fromentries": "warn",
|
|
|
|
"es-x/no-object-entries": "warn",
|
|
|
|
"es-x/no-object-values": "warn",
|
|
|
|
"es-x/no-array-prototype-includes": "warn",
|
|
|
|
"es-x/no-optional-chaining": "warn",
|
|
|
|
"es-x/no-nullish-coalescing-operators": "warn",
|
2023-08-02 22:56:08 +00:00
|
|
|
"es-x/no-rest-spread-properties": "warn",
|
2022-12-05 20:08:18 +00:00
|
|
|
"es-x/no-symbol-prototype-description": "warn",
|
|
|
|
"compat/compat": "warn",
|
2022-05-13 04:17:27 +00:00
|
|
|
"mediawiki/class-doc": "off"
|
2021-04-27 16:57:54 +00:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
2022-12-05 20:08:18 +00:00
|
|
|
"ecmaVersion": 11,
|
|
|
|
"sourceType": "module"
|
2020-02-15 22:24:52 +00:00
|
|
|
}
|
2020-07-22 21:04:11 +00:00
|
|
|
}
|