Update Espree configuration to allow for latest supported ECMA version

This commit is contained in:
James M. Greene
2022-07-22 18:03:26 -05:00
parent e993237306
commit 98aa330a29
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@@ -14596,7 +14596,7 @@ class ConfigParser {
// Parse the AST out of the configuration file
const espreeOptions = {
ecmaVersion: 6,
ecmaVersion: 'latest',
sourceType: 'module',
range: true
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -166,7 +166,7 @@ class ConfigParser {
// Parse the AST out of the configuration file
const espreeOptions = {
ecmaVersion: 6,
ecmaVersion: 'latest',
sourceType: 'module',
range: true
}