fix: upgrade version to support top level await

This commit is contained in:
baiyongjie 2023-04-12 10:05:26 +08:00
parent 5e88e24693
commit 5e5fe2ccf3

View File

@ -46,7 +46,7 @@
const errors = new eslint().verify(text, {
root: true,
parserOptions: {
ecmaVersion: 2019
ecmaVersion: 2022
},
extends: ['eslint:recommended', 'airbnb-base'],
env: {