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

Checkstyle reporter sometimes outputs unused variable warnings, even what that option is not used #63

Closed
Lugribossk opened this issue Jun 4, 2013 · 1 comment

Comments

@Lugribossk
Copy link

  1. Set up the jshint task options without "unused": true (or explicitly set it to false), a single input file, and the "checkstyle" reporter.
  2. Run the task and notice that the Checkstyle XML has no unused variable warnings in it.
  3. Add a second input file and run the task again.
  4. Notice that the XML now has unused variable warnings, but only from the second file.

Example setup: https://gist.github.com/Lugribossk/5709321

This is with Grunt v0.4.1 and grunt-contrib-jshint v0.6.0.

@shama
Copy link
Member

shama commented Jul 16, 2013

This plugin is a fairly thin wrapper to jshint and the checkstyle reporter is built into jshint. Could you open an issue over on https://github.com/jshint/jshint/issues for this instead? Thank you!

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

2 participants