From be22fcb87d163e3e847a1296c44181c4d9b63242 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Thu, 29 Jul 2021 14:31:03 +0800 Subject: [PATCH] Fix: Bump ES version in ESlint config --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 3a699223a..8ef64ed1a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,6 +3,7 @@ module.exports = { browser: true, commonjs: true, es2017: true, + es11: true, node: true, }, extends: [ @@ -10,7 +11,7 @@ module.exports = { "plugin:vue/vue3-recommended", ], parserOptions: { - ecmaVersion: 2018, + ecmaVersion: 2020, sourceType: "module", }, rules: {