Update Espree configuration to allow for latest supported ECMA version

This commit is contained in:
James M. Greene
2022-07-22 14:10:25 -05:00
parent 8981dbcb59
commit 3480141499
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 // Parse the AST out of the configuration file
const espreeOptions = { const espreeOptions = {
ecmaVersion: 6, ecmaVersion: 'latest',
sourceType: 'module', sourceType: 'module',
range: true 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 // Parse the AST out of the configuration file
const espreeOptions = { const espreeOptions = {
ecmaVersion: 6, ecmaVersion: 'latest',
sourceType: 'module', sourceType: 'module',
range: true range: true
} }