mediawiki-skins-Citizen/.eslintrc.json
alistair3149 bb0eb49aaa
chore(ci): 🔧 👷 make es-x eslint rules warn instead of error
They will be addressed when we are rewriting the modules to ES6
2022-12-05 15:08:34 -05:00

31 lines
664 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-symbol-prototype-description": "warn",
"compat/compat": "warn",
"mediawiki/class-doc": "off"
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
}
}