Browse Source

Allow usage before declaration for functions only

feature/remove-domains
Jonathan Muller 9 years ago
parent
commit
40ed0bea86
  1. 2
      .jshintrc

2
.jshintrc

@ -59,7 +59,7 @@
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
"forin" : false, // Tolerate `for in` loops without `hasOwnProperty`.
"immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
"latedef" : true, // Prohibit variable use before definition.
"latedef" : "nofunc", // Prohibit variable use before definition.
"loopfunc" : true, // Allow functions to be defined within loops.
"maxparams" : 4,
"maxdepth" : 5,

Loading…
Cancel
Save