Permalink
Browse files

Require variable declaration before usage.

  • Loading branch information...
1 parent 268335e commit 5a6fbc2de81433bec50d9f04b9328ddfd5bdc338 @MathieuTurcotte committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .jshintrc
View
2 .jshintrc
@@ -94,7 +94,7 @@
// If `new function () { ... };` and `new Object;` should be tolerated.
"supernew": false,
// If variables should be declared before used.
- "undef": false,
+ "undef": true,
// If `this` inside a non-constructor function is valid.
"validthis": false,
// If smarttabs should be tolerated

0 comments on commit 5a6fbc2

Please sign in to comment.