Permalink
Browse files

Added jslint options

  • Loading branch information...
1 parent a4d0f87 commit 6ba06f48ec708562beb63b9647e6c94393345470 @dhruvbird committed Feb 12, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lintit.sh
  2. +1 −1 monitor.js
View
@@ -9,6 +9,6 @@ do
D=$(printf $FS ' ')
D=${D//?/-}
echo -e "$S\n$D"
- jslint --forin=false --node=false $fn
+ jslint --forin=false --node=false --nomen=true --vars=true $fn
echo ""
done
View
@@ -59,7 +59,7 @@ files.forEach(function(fp) {
}
mtimes[fp] = cmtime;
- var jslint = cp.spawn('jslint', [ '--forin=false', '--node=false', fp ]);
+ var jslint = cp.spawn('jslint', [ '--forin=false', '--node=false', '--nomen=true', '--vars=true', fp ]);
var title = "Linting file: " + fp;
var underline = dutil.repeat('-', title.length).join('');

0 comments on commit 6ba06f4

Please sign in to comment.