I am using jshint
for my code analysis. I run
jshint PATH_TO_.js
.
Is there a way to print these errors into a text file.
Asked
Active
Viewed 140 times
0

Nevin Raj Victor
- 2,924
- 3
- 23
- 37
1 Answers
1
If you are running this from a terminal you can use the >
character to output to file.
jshint PATH_TO_.js > path/to/text/file.txt
The above truncates the file prior to writing, if you want a continuous log file use >>
jshint PATH_TO_.js >> path/to/text/file.txt

Richard Christensen
- 2,046
- 17
- 28