mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
87dd101a69
* Upgrade @wikimedia/types-wikimedia to allow us to drop several @ts-ignores * Merges eslint rules now that ES6 is default everywhere * Runs autofix command * Fixes various prefer-const errors Change-Id: Iee5bcb93f10a76d80dbeec813f6387c13438263e
19 lines
258 B
JSON
19 lines
258 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"../.eslintrc.json"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018
|
|
},
|
|
"rules": {
|
|
"es-x/no-rest-spread-properties": "off",
|
|
"es-x/no-async-functions": "off"
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"jest": true
|
|
}
|
|
}
|