Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is JSHint not showing me the filenames?

I'm getting the following from the console...

"C:\Program Files (x86)\JetBrains\WebStorm 11.0.3\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" C:\myProj\node_modules\grunt-cli\bin\grunt --gruntfile C:\Projects\dcloud-v2-ui\Gruntfile.js test
Running "jshint:all" (jshint) task


     16 |          })
                     ^ Missing semicolon.
     76 |          })
                     ^ Missing semicolon.
    113 |      })
                 ^ Missing semicolon.

>> 3 errors in 407 files
Warning: Task "jshint:all" failed. Use --force to continue.

Aborted due to warnings.

Process finished with exit code 3

Why is is not showing me the file with the missing semi colons? I notice is is finishing on a 3. Is that related to an error in Grunt or just telling me the 'hinting' failed?

like image 477
Exitos Avatar asked Jan 07 '23 12:01

Exitos


1 Answers

It looks like this is a bug in grunt-contrib-jshint. It previously worked as you would expect, but this is a regression in recent versions. Unfortunately the root of the issue doesn't seem to have been identified, and there's surprisingly little activity on the issue.

like image 100
Brendan Gannon Avatar answered Jan 09 '23 15:01

Brendan Gannon