Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

stuff i needed to do for the npm package

  • Loading branch information...
commit a35da3f070fca3d08bde6a25ee2642ddc5040824 1 parent 90e41bb
@davybrion authored
Showing with 46 additions and 2 deletions.
  1. +2 −0  .npmignore
  2. 0  README
  3. +22 −0 README.md
  4. +22 −2 package.json
View
2  .npmignore
@@ -0,0 +1,2 @@
+.gitignore
+node_modules/
View
0  README
No changes.
View
22 README.md
@@ -0,0 +1,22 @@
+## node-jslint-all
+
+node-jslint-all is JSLint on Node, with minimized output and recursive path scanning. It's heavily inspired
+by node-jslint (https://github.com/reid/node-jslint) in that it's very simple in what it supports, but i wanted
+minimal console output (only errors, basically) and recursive path scanning.
+
+## usage
+
+If you want to execute node-jslint-all on all JavaScript files in this folder and its subfolders, just do:
+
+ $ jslint-all .
+
+If you want to execute node-jslint-all on a specific path, just do:
+
+ $ jslint-all /path/to/my/code
+
+If you want to pass jslint options, just do:
+
+ $ jslint-all --onevar --nomen --regexp --bitwise --newcap --evil false /path/to/my/code
+
+The output is limited to only errors that were found, and if any errors were found, the process will return
+with a non-zero exit code.
View
24 package.json
@@ -1,15 +1,35 @@
{
"name": "node-jslint-all",
"description": "A JSLint based JavaScript code quality tool",
+ "version": "0.1.0",
+ "author" : "Davy Brion <ralinx@davybrion.com>",
+ "homepage": "https://github.com/davybrion/node-jslint-all",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/davybrion/node-jslint-all.git"
+ },
+ "bugs": {
+ "web": "https://github.com/davybrion/node-jslint-all/issues"
+ },
+ "licenses": [
+ {
+ "type": "Modified MIT / BSD",
+ "url": "https://github.com/davybrion/node-jslint-all/blob/master/LICENSE"
+ }
+ ],
"keywords": [
"jslint"
],
- "version": "0.1.0",
- "author" : "Davy Brion <ralinx@davybrion.com>",
+ "bin": {
+ "jslint-all": "./bin/jslint-all.js"
+ },
"dependencies": {
"nopt": "~1.0.0"
},
"engines": {
"node": ">=0.4.0"
+ },
+ "directories": {
+ "lib": "./lib"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.