Permalink
Browse files

including full jslint.js (under MIT license), there is new "forvar" o…

…ption
  • Loading branch information...
1 parent 5e66792 commit 9a4f449ec5bcbd23bd2ad56ef652f98fcfe92f13 @notmasteryet notmasteryet committed Feb 2, 2011
Showing with 6,266 additions and 8 deletions.
  1. +0 −1 .gitignore
  2. +1 −7 Makefile
  3. +1 −0 tools/jslint-cmdline.js
  4. +6,264 −0 tools/jslint.js
View
1 .gitignore
@@ -7,4 +7,3 @@ Unsaved\ Document*
*.swp
*~
*.pyc
-tools/jslint.js
View
8 Makefile
@@ -77,15 +77,9 @@ check-release: yui
check-summary:
${TOOLSDIR}/runtests.py -s ${JSSHELL}
-check-lint: ${TOOLSDIR}/jslint.js
+check-lint:
${TOOLSDIR}/jslint.py ${JSSHELL} processing.js
-${TOOLSDIR}/jslint.js:
- $(error The ./tools/jslint.js is not downloaded from the http://www.jslint.com/jslint.js. Please run "make get-lint" to use wget to download this file)
-
-get-lint:
- wget -O ./tools/jslint.js "http://www.jslint.com/jslint.js"
-
check-parser:
${TOOLSDIR}/runtests.py -p ${JSSHELL}
View
1 tools/jslint-cmdline.js
@@ -25,6 +25,7 @@ function runJslint(input) {
immed: true,
newcap: true,
/*
+ forvar: true,
bitwise: true,
nomen: true,
onevar: true,
View
6,264 tools/jslint.js
6,264 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 9a4f449

Please sign in to comment.