finish removal of ecmaVersion option

This commit is contained in:
Sebastian McKenzie
2015-07-15 16:41:32 +01:00
parent bd2fb6126b
commit b21db8a37e
7 changed files with 12 additions and 228 deletions

View File

@@ -5,11 +5,6 @@ import { SourceLocation } from "./location";
// the parser process. These options are recognized:
export const defaultOptions = {
// `ecmaVersion` indicates the ECMAScript version to parse. Must
// be either 3, or 5, or 6. This influences support for strict
// mode, the set of reserved words, support for getters and
// setters and other features.
ecmaVersion: 5,
// Source type ("script" or "module") for different semantics
sourceType: "script",
// `onInsertedSemicolon` can be a callback that will be called