Why doesn't JSHint show me file names?

I get 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 doesn't this show me a file with missing half columns? I notice that it ends with 3. Is this due to a bug in Grunt or is it just telling me that the “hint” failed?

+4
source share
2 answers

This seems to be a bug in grunt-contrib-jshint . Previously, it worked as you expected, but this is a regression in recent versions. Unfortunately, the root of the problem does not seem to have been identified, and there is unexpectedly little activity in this problem.

+5
source

. , thread, jshint-stylish - jshint

, npm install --save-dev jshint-stylish options jshint:

jshint: {
  options: {
    reporter: require('jshint-stylish')
    ...
  },
...
+4

All Articles