xonecas.io
1510
Cn

cli-node-jshint / files

cli-node-jshint / README.markdown

1.0 KB
1# Simple command line interface for JSHINT
2
3If you need more than this, you should take a look at @brentlintner
4implemenation: [node-jshint](https://github.com/jshint/node-jshint).
5This is a very simple solution. It depends on [jshint](https://github.com/jshint/jshint) 
6(do'h!) and, wait for it, [node.js](http://nodejs.org/).
7
8## Instalation
9
10You are going to need jshint, then just drop cli-jshint into that, or run this
11command:
12
13    git clone --recursive https://github.com/xonecas/cli-node-jshint.git
14
15## Usage
16
17Same as would expect, please head on to [jshint's webby](http://jshint.com/#docs)
18 for the full docs. But this will get you started:
19
20    cd cli-none-jshint
21    ./cli-jshint path/to/js/file option:value option:value
22
23## Example
24   
25With the options set in file:
26
27    ./cli-jshint ./cli-jshint
28
29With options
30
31    ./cli-jshint ./cli-jshint curly:true debug:true node:true
32
33
34### Recommended
35
36Add this to your path so your vim/emacs plugin can use it.
37
38### License?
39
40Please contribute, mangle, cuddle, ... at will.