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

On error I'm not getting file name of file where error occurred #2841

Closed
mryarbles opened this issue Jan 21, 2016 · 3 comments
Closed

On error I'm not getting file name of file where error occurred #2841

mryarbles opened this issue Jan 21, 2016 · 3 comments

Comments

@mryarbles
Copy link

For instance, for a missing semicolon I only get the following:

126 | $log.log(toState)
                                   ^ Missing semicolon.

>> 1 error in 122 files

@nicolo-ribaudo
Copy link
Contributor

Which reporter are you using?

@Splaktar
Copy link

I'm seeing this as well using the default Grunt reporter (with grunt-contrib-jshint). Using https://github.com/sindresorhus/jshint-stylish as the reporter works fine.

@jugglinmike
Copy link
Member

There is a related issue filed against the grunt-contribu-jshint npm module: gruntjs/grunt-contrib-jshint#240 . It looks as though this is an issue with that module. This is supported by @Splaktar's experience described above (where using a different reported solved the problem).

I'm going to close this issue based on those observations. If anyone is having this problem and can demonstrate it by using JSHint directly, please let us know and we'll re-open.

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

4 participants