mediawiki-skins-Citizen/.eslintrc.json
alistair3149 431599cb59
refactor(search): ♻️ reimplement and clean up search clients
This should make the search clients more readable and easier to expand
2023-08-02 18:56:08 -04:00

32 lines
708 B
JSON

{
"root": true,
"extends": [
"wikimedia/client-es6",
"wikimedia/mediawiki"
],
"env": {
"browser": true
},
"globals": {
"exports": true
},
"rules": {
"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",
"es-x/no-rest-spread-properties": "warn",
"es-x/no-symbol-prototype-description": "warn",
"compat/compat": "warn",
"mediawiki/class-doc": "off"
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
}
}