This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 18fd4ff16f8050b65cc6c928799c2f048f2ae4c3
Author: Randall Leeds <[email protected]>
AuthorDate: Sat Apr 3 21:27:15 2021 -0700

    Set language version in ESLint configuration
---
 .eslintrc.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index 54150ec..3975de8 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -85,6 +85,9 @@ module.exports = {
         es2017: true,
         node: true,
       },
+      parserOptions: {
+        ecmaVersion: 2019,
+      },
       plugins: ['node'],
       rules: {
         'no-console': 'off',
@@ -106,6 +109,7 @@ module.exports = {
         'prettier/@typescript-eslint',
       ],
       parserOptions: {
+        ecmaVersion: 2020,
         project: ['./tsconfig.test.json', './packages/*/tsconfig.json'],
         tsconfigRootDir: __dirname,
       },
@@ -146,6 +150,7 @@ module.exports = {
         es2020: true,
       },
       parserOptions: {
+        ecmaVersion: 2020,
         sourceType: 'module',
       },
     },

Reply via email to