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

verbose option not working as expected #210

Open
oji opened this issue Jun 9, 2015 · 2 comments
Open

verbose option not working as expected #210

oji opened this issue Jun 9, 2015 · 2 comments

Comments

@oji
Copy link

oji commented Jun 9, 2015

If you run jshint with --verbose option, you get the output in this format:

jshint --verbose app
app\config\logger.configuration.js: line 34, col 46, 'settings' is defined but never used. (W098)
app\config\logger.configuration.js: line 45, col 49, 'settings' is defined but never used. (W098)

app\config\sms.client.configuration.js: line 37, col 2, Missing semicolon. (W033)

app\support\clients\cs.client.js: line 83, col 16, Expected '===' and instead saw '=='. (W116)
app\support\clients\cs.client.js: line 64, col 5, 'getEntityByPath' is defined but never used. (W098)

However, I couldn't manage to get the same output format with this grunt task. I have something like this:

        jshint: {
            dev: {
                verbose: true,
                options: {
                    verbose: true,
                    force: true,
                    jshintrc: true,
                    reporter: null,
                    reporterOutput: null,
                },
                src: "<%= lint_files %>",
            },
        },

Which gives me this output:

   app\config\logger.configuration.js
     34 |var fileFormatter = function(message, level, settings) {
                                                      ^ 'settings' is defined but never used.
     45 |var consoleFormatter = function(message, level, settings) {
                                                         ^ 'settings' is defined but never used.
   app\config\sms.client.configuration.js
     37 |}
          ^ Missing semicolon.
@jtfairbank
Copy link

+1

@arcseldon
Copy link

+1 verbose is not working. not seeing any jshint codes.

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

3 participants