diff --git a/.eslintrc.json b/.eslintrc.json index ce028b8..6808365 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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 } } diff --git a/package.json b/package.json index 898743d..d1661a2 100644 --- a/package.json +++ b/package.json @@ -14,4 +14,4 @@ "stylelint-config-idiomatic-order": "8.1.0", "stylelint-config-wikimedia": "0.11.1" } -} \ No newline at end of file +}