diff --git a/.jshintrc b/.jshintrc index 4d8c17fdb..0421ee80f 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,7 +14,6 @@ "globalstrict": false, // Allow global "use strict" (also enables 'strict'). // Functionality - "asi" : true, // Tolerate Automatic Semicolon Insertion (no semicolons). "bitwise" : false, // Prohibit bitwise operators (&, |, ^, etc.). "boss" : true, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments. "camelcase" : true, // Force all variable names to use either camelCase style or UPPER_CASE with underscores. @@ -28,8 +27,7 @@ "funcscope" : true, // This option suppresses warnings about declaring variables inside of control structures while accessing them later from the outside. "immed" : false, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` "iterator" : true, // This option suppresses warnings about the __iterator__ property. - "lastsemic" : true, // This option suppresses warnings about missing semicolons, but only when the semicolon is omitted for the last statement in a one-line block. - "latedef" : false, // Prohipit variable use before definition. + "latedef" : true, // Prohibit variable use before definition. "laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. "laxcomma" : false, // This option suppresses warnings about comma-first coding style. "loopfunc" : true, // Allow functions to be defined within loops.