Do not prepend the "eslint-env" directive to lib/parser.js

The lib/parser.js file is a CommonJS module like all the other files in
lib/, so setting the environment explicitly is not needed. Besides, the
environment set by "eslint-env" was wrong (since transitioning from the
AMD format).
redux
David Majda 8 years ago
parent c721b9bf6e
commit e29d62558d

@ -54,7 +54,6 @@ parser:
rm -f $(PARSER_OUT_FILE) rm -f $(PARSER_OUT_FILE)
echo '/* eslint-env node, amd */' >> $(PARSER_OUT_FILE)
echo '/* eslint-disable no-unused-vars */' >> $(PARSER_OUT_FILE) echo '/* eslint-disable no-unused-vars */' >> $(PARSER_OUT_FILE)
echo >> $(PARSER_OUT_FILE) echo >> $(PARSER_OUT_FILE)
cat $(PARSER_OUT_FILE_NEW) >> $(PARSER_OUT_FILE) cat $(PARSER_OUT_FILE_NEW) >> $(PARSER_OUT_FILE)

@ -1,4 +1,3 @@
/* eslint-env node, amd */
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
// Generated by PEG.js 0.10.0. // Generated by PEG.js 0.10.0.

Loading…
Cancel
Save