Skip to content

Commit

Permalink
Update Espree configuration to allow for latest supported ECMA version
Browse files Browse the repository at this point in the history
  • Loading branch information
James M. Greene authored and James M. Greene committed Jul 22, 2022
1 parent e993237 commit 98aa330
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14596,7 +14596,7 @@ class ConfigParser {

// Parse the AST out of the configuration file
const espreeOptions = {
ecmaVersion: 6,
ecmaVersion: 'latest',
sourceType: 'module',
range: true
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class ConfigParser {

// Parse the AST out of the configuration file
const espreeOptions = {
ecmaVersion: 6,
ecmaVersion: 'latest',
sourceType: 'module',
range: true
}
Expand Down

0 comments on commit 98aa330

Please sign in to comment.