Converted everything to use acorn npm package. Updated acorn packages to latest version. Updated acorn parsing to use ES9

This commit is contained in:
danielyxie
2019-07-13 22:36:12 -07:00
committed by danielyxie
parent 042f926700
commit 91ee65a101
9 changed files with 19 additions and 3667 deletions

View File

@@ -37,7 +37,7 @@
if (!options.indent) // JSHint error.character actually is a column index, this fixes underlining on lines using tabs for indentation
options.indent = 1; // JSHint default value is 4
options.esversion = 6;
options.esversion = 9;
JSHINT(sanitizedText, options, options.globals);
var errors = JSHINT.data().errors, result = [];