xonecas.io
1510
Cn

cli-node-jshint / commit 9b0aadb

added jshint as a submodule; update the code to reflect this; updated readme

sean2011-08-17 9b0aadb8fe61d293684391db165a3343e0a3df58 parent 3d1607e

4 files changed

.gitmodules+3−0
@@ -0,0 +1,3 @@
1+[submodule "jshint"]
2+ path = jshint
3+ url = https://github.com/jshint/jshint.git
README.markdown+2−3
@@ -10,15 +10,14 @@ This is a very simple solution. It depends on [jshint](https://github.com/jshint
1010 You are going to need jshint, then just drop cli-jshint into that, or run these
1111 two commands:
1212
13- git clone https://github.com/jshint/jshint.git
14- git clone https://github.com/xonecas/cli-node-jshint.git jshint
13+ git clone https://github.com/xonecas/cli-node-jshint.git
1514
1615 ## Usage
1716
1817 Same as would expect, please head on to [jshint's webby](http://jshint.com/#docs)
1918 for the full docs. But this will get you started:
2019
21- cd jshint
20+ cd cli-none-jshint
2221 ./cli-jshint path/to/js/file option:value option:value
2322
2423 ## Example
cli-jshint+1−1
@@ -1,7 +1,7 @@
11 #! /usr/bin/env node
22 /*jshint node:true, curly:true, onevar:true, maxlen:80 */
33
4-var jshint = require('./jshint.js').JSHINT,
4+var jshint = require('./jshint/jshint.js').JSHINT,
55 fs = require('fs'),
66 args = process.argv.slice(2),
77 paths = [],
jshint+1−0
@@ -0,0 +1 @@
1+Subproject commit 3c77ac7a4edfd24c150d1f690825f60e1cd470fc