2019-12-26 15:08:10 +08:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"extends": [
|
2023-11-18 17:07:57 +08:00
|
|
|
"wikimedia/client-common",
|
2023-11-19 10:55:06 +08:00
|
|
|
"wikimedia/language/es2022",
|
2023-11-18 17:07:57 +08:00
|
|
|
"wikimedia/mediawiki",
|
|
|
|
"wikimedia/jquery"
|
2020-02-16 06:24:52 +08:00
|
|
|
],
|
2022-12-06 04:08:18 +08:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
2020-02-16 06:24:52 +08:00
|
|
|
"globals": {
|
2022-12-06 04:08:18 +08:00
|
|
|
"exports": true
|
2020-07-23 05:04:11 +08:00
|
|
|
},
|
|
|
|
"rules": {
|
2022-12-06 04:08:18 +08: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",
|
2024-03-28 22:37:24 +08:00
|
|
|
"es-x/no-rest-spread-properties": "warn",
|
2022-12-06 04:08:18 +08:00
|
|
|
"es-x/no-symbol-prototype-description": "warn",
|
|
|
|
"compat/compat": "warn",
|
2022-05-13 12:17:27 +08:00
|
|
|
"mediawiki/class-doc": "off"
|
2021-04-28 00:57:54 +08:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
2022-12-06 04:08:18 +08:00
|
|
|
"ecmaVersion": 11,
|
|
|
|
"sourceType": "module"
|
2020-02-16 06:24:52 +08:00
|
|
|
}
|
2020-07-23 05:04:11 +08:00
|
|
|
}
|