You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2019/06/23 01:19:13 UTC

[incubator-annotator] 03/04: Fix ESLint ecmaVersion setting

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 b62e7a2ec1fcd1ef5c510643c214850e49aef42c
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Sat Jun 22 18:14:56 2019 -0700

    Fix ESLint ecmaVersion setting
    
    The ecmaVersion setting should be a number, rather than a string, and
    ESLint 6 will be stricter about parsing it.
---
 .eslintrc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 7381f85..ab17f62 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -13,7 +13,7 @@ module.exports = {
     ecmaFeatures: {
       impliedStrict: true,
     },
-    ecmaVersion: '2019',
+    ecmaVersion: 2019,
     sourceType: 'module',
   },
   plugins: ['import', 'prettier'],