aboutsummaryrefslogtreecommitdiffstats
path: root/build/jshint-check.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-01-19 21:47:23 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-01-19 22:36:08 -0500
commit135bb4ff812d9f97b961670ad9c4ed9d14f333bb (patch)
tree43af456110dfb79c5dc143e8a465bb90291d6e39 /build/jshint-check.js
parent8d9025ca50603e5404c6b50f7fa6c87046ee24c1 (diff)
downloadjquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.tar.gz
jquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.zip
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
Diffstat (limited to 'build/jshint-check.js')
-rw-r--r--build/jshint-check.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/jshint-check.js b/build/jshint-check.js
index c19fd09b3..087622153 100644
--- a/build/jshint-check.js
+++ b/build/jshint-check.js
@@ -9,6 +9,8 @@
expr: true,
curly: true,
trailing: true,
+ undef: true,
+ smarttabs: true,
predef: [
"define",
"DOMParser"