Created
May 15, 2012 21:57
-
-
Save syranez/2705465 to your computer and use it in GitHub Desktop.
I think this is irony. (found in jshint.) (curly: "This option requires you to always put curly braces around blocks in loops and conditionals. JavaScript allows you to omit curly braces when the block consists of only one statement")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2852 if (!stmt || option.curly) | |
2853 warning("Expected '{a}' and instead saw '{b}'.", | |
2854 nexttoken, '{', nexttoken.value); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment