ci: enable ES6 support for ESLint

This commit is contained in:
alistair3149 2021-06-21 14:47:26 -04:00
parent e9fcf81043
commit a351a1dce6
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/client-es6",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
@ -16,5 +16,8 @@
"ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."
],
"no-implicit-globals": "off"
},
"parserOptions": {
"ecmaVersion": 11
}
}

View file

@ -14,4 +14,4 @@
"stylelint-config-idiomatic-order": "8.1.0",
"stylelint-config-wikimedia": "0.11.1"
}
}
}