From c502b78b8b568436a5c1f4900608f250308c06fd Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 5 Dec 2019 16:17:13 +0800 Subject: [PATCH] fix: use ecmaVersion 2019 for now vue-eslint-parser 6.0.5 (which is depended on by eslint-plugin-vue 6.0.0 & 6.0.1) depends on espree 5.x, thus does not support ecmaVersion 2020. This commit can be reverted once this PR https://github.com/vuejs/eslint-plugin-vue/pull/985 gets merged and released. --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e8dada4..ed3c4f4 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,8 @@ module.exports = { extends: [ require.resolve('eslint-config-standard') - ] + ], + parserOptions: { + ecmaVersion: 2019 + } }