Skip to content

Commit 6fd84f9

Browse files
committed
fix config
1 parent c45e5a6 commit 6fd84f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/configs/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module.exports = {
77
parser: require.resolve('vue-eslint-parser'),
88
parserOptions: {
9-
ecmaVersion: 2020,
9+
ecmaVersion: 'latest',
1010
sourceType: 'module'
1111
},
1212
env: {

Diff for: tools/update-lib-configs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function formatCategory(category) {
5858
module.exports = {
5959
parser: require.resolve('vue-eslint-parser'),
6060
parserOptions: {
61-
ecmaVersion: 2020,
61+
ecmaVersion: "latest",
6262
sourceType: 'module'
6363
},
6464
env: {

0 commit comments

Comments
 (0)