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