diff --git a/src/config-parser.js b/src/config-parser.js index 1266757..c044574 100644 --- a/src/config-parser.js +++ b/src/config-parser.js @@ -166,7 +166,7 @@ class ConfigParser { // Parse the AST out of the configuration file const espreeOptions = { - ecmaVersion: 'latest', + ecmaVersion: 6, sourceType: 'module', range: true }