Update Espree configuration to allow for latest supported ECMA version
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user