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

how to handle JSHint exit code? #13

Closed
hvelarde opened this issue Aug 6, 2013 · 1 comment · Fixed by #15
Closed

how to handle JSHint exit code? #13

hvelarde opened this issue Aug 6, 2013 · 1 comment · Fixed by #15

Comments

@hvelarde
Copy link
Member

hvelarde commented Aug 6, 2013

according to JSHint maintainer both, warnings and errors, make JSHint return an exit code of 2; I don't like this for obvious reasons.

I see two options:

  • contribute code to JSHint to fix this enhancing exit code handling
  • run validation with the --verbose option always and look for on-screen patterns like (E000) as a workaround

what do you think?

@tisto
Copy link
Sponsor Member

tisto commented Aug 7, 2013

I merged your pull request. Thanks! I guess it would be nice to fix this in JSHint though.

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