node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

jshint-simple-log

jshint-simple-log

This JSHint reporter will write any errors into a log file.

Here's an example output:

2 lint errors found in the file client/app/app.js
 [4:9] - (W098) - 'asdf' is defined but never used.
 [5:9] - (W098) - 'fdsa' is defined but never used.

Installation

To use jshint-simple-log, you need JSHint installed on your system (or in your project node_modules directory).

Now you can install the reporter

$ npm install jshint-simple-log --save-dev

Usage

Add a reference to this reporter in your JSHint command

$ jshint --reporter node_modules/jshint-simple-log/index.js myFile.js