Skip to content
Browse files

Added jslint configuration

  • Loading branch information...
1 parent e2e2935 commit 86daade3f7d67a3786f27dd288ff06298efb752e @medikoo committed Feb 9, 2012
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"

0 comments on commit 86daade

Please sign in to comment.
Something went wrong with that request. Please try again.