Fix: Bump ES version in ESlint config

This commit is contained in:
Nelson Chan 2021-07-29 14:31:03 +08:00
parent 5a053e5875
commit be22fcb87d

View File

@ -3,6 +3,7 @@ module.exports = {
browser: true, browser: true,
commonjs: true, commonjs: true,
es2017: true, es2017: true,
es11: true,
node: true, node: true,
}, },
extends: [ extends: [
@ -10,7 +11,7 @@ module.exports = {
"plugin:vue/vue3-recommended", "plugin:vue/vue3-recommended",
], ],
parserOptions: { parserOptions: {
ecmaVersion: 2018, ecmaVersion: 2020,
sourceType: "module", sourceType: "module",
}, },
rules: { rules: {