ESLint ecmaVersion setting is not needed if env is es6
authorŽeljko Filipin <zeljko.filipin@gmail.com>
Wed, 15 Nov 2017 13:27:13 +0000 (14:27 +0100)
committerŽeljko Filipin <zeljko.filipin@gmail.com>
Wed, 15 Nov 2017 13:27:13 +0000 (14:27 +0100)
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

tests/selenium/.eslintrc.json

index db736b7..85fc310 100644 (file)
@@ -5,9 +5,6 @@
                "mocha": true,
                "node": true
        },
-       "parserOptions": {
-               "ecmaVersion": 6
-       },
        "globals": {
                "browser": false
        },