From: Ċ½eljko Filipin Date: Wed, 15 Nov 2017 13:27:13 +0000 (+0100) Subject: ESLint ecmaVersion setting is not needed if env is es6 X-Git-Tag: 1.31.0-rc.0~1386^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=85f88747f25fd9ac8fc347912a785453a175e58e;p=lhc%2Fweb%2Fwiklou.git ESLint ecmaVersion setting is not needed if env is es6 From ESLint documentation: "Specifying Environments: es6 - enable all ECMAScript 6 features except for modules (this automatically sets the ecmaVersion parser option to 6)." https://eslint.org/docs/user-guide/configuring#specifying-environments Bug: T139740 Change-Id: Ie675a8a75c09857003d100d7ff92922deebe753e --- diff --git a/tests/selenium/.eslintrc.json b/tests/selenium/.eslintrc.json index db736b77b8..85fc310708 100644 --- a/tests/selenium/.eslintrc.json +++ b/tests/selenium/.eslintrc.json @@ -5,9 +5,6 @@ "mocha": true, "node": true }, - "parserOptions": { - "ecmaVersion": 6 - }, "globals": { "browser": false },