commit | 211f0530a7509749037d8cd4bfe142bc467ecfef | [log] [tgz] |
---|---|---|
author | Viktar Donich <viktard@google.com> | Tue Aug 14 10:59:10 2018 -0700 |
committer | Viktar Donich <viktard@google.com> | Tue Aug 14 11:01:14 2018 -0700 |
tree | f16c4392717e98e6c212cda5ab055642bfa9faa4 | |
parent | ce8fa68e2f8a6997f084ae7755ae1fa72eea55e7 [diff] |
Set ecmaVersion to 8 for eslint This allows usage of EcmaScript 2017 and async and await in particular. Change-Id: Ib1ab12e87b5c17648a11cac3d935ab86607d88d1
diff --git a/polygerrit-ui/app/.eslintrc.json b/polygerrit-ui/app/.eslintrc.json index 7cb1a11..97151f2 100644 --- a/polygerrit-ui/app/.eslintrc.json +++ b/polygerrit-ui/app/.eslintrc.json
@@ -1,5 +1,8 @@ { "extends": ["eslint:recommended", "google"], + "parserOptions": { + "ecmaVersion": 8 + }, "env": { "browser": true, "es6": true