Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added jslint configuration

  • Loading branch information...
commit 86daade3f7d67a3786f27dd288ff06298efb752e 1 parent e2e2935
@medikoo authored
Showing with 10 additions and 1 deletion.
  1. +2 −0  .gitignore
  2. +6 −0 .lint
  3. +2 −1  package.json
View
2  .gitignore
@@ -1,2 +1,4 @@
.DS_Store
/node_modules
+/.lintcache
+/npm-debug.log
View
6 .lint
@@ -0,0 +1,6 @@
+indent 2
+maxlen 80
+bitwise
+nomen
+plusplus
+predef setTimeout
View
3  package.json
@@ -22,7 +22,8 @@
"es5-ext": "0.7.x"
},
"scripts": {
- "test": "node ./node_modules/tad/bin/tad lib"
+ "test": "node ./node_modules/tad/bin/tad lib",
+ "lint": "node ./node_modules/jslint/bin/jslint.js --color --git"
},
"devDependencies": {
"tad": "0.1.x"
Please sign in to comment.
Something went wrong with that request. Please try again.