Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove excessive jslinting #68

Open
maranomynet opened this issue Dec 12, 2014 · 3 comments
Open

Remove excessive jslinting #68

maranomynet opened this issue Dec 12, 2014 · 3 comments

Comments

@maranomynet
Copy link

/*global define, exports, module */

es6-transpiler seems to automatically pick up linting hints like above in the code it's processing, and become all over-opinionated about it and throw errors.

I'm concatenating and transpiling a bunch of files, and some of these files aren't written by me and contain these linting hints used by their authors in their particular development/testing context.

IMO es6-transpiler should just stick to transpiling and leave it up to us users to add code-linting to our workflow.

Secondly, the transpiler also seems to want to dictate which variables I'm allowed to assign to. (This happens regardless of hinting comments.)

Message:
    line 1: can't assign to const variable require
    line 913: can't assign to const variable Date

This causes problems with every script emitted by browserify's b.require() method - and also with es5-shim/es5-sham

@maranomynet
Copy link
Author

Does anyone have an opinion on this?
This is keeping me from using es6-transpiler as a post-processor.

@maranomynet
Copy link
Author

?

@maranomynet
Copy link
Author

This is still causing headache. See also #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant