Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upStandard allows different style for ifs #266
Comments
This comment has been minimized.
This comment has been minimized.
julien-f
commented
Sep 21, 2015
|
Yes, standard makes all of us stop fighting because it chooses for us to avoid unnecessary debates over trivial things. :) |
This comment has been minimized.
This comment has been minimized.
|
Yes? :) |
This comment has been minimized.
This comment has been minimized.
julien-f
commented
Sep 21, 2015
|
My bad, I did not understand the issue ^^ I think the first one is the most commonly used and, if one should ever been enforced, that will be it! |
This comment has been minimized.
This comment has been minimized.
oh god. why? |
dcousens
added
the
bug
label
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
if (1) { }else { }I've never seen that documented as being acceptable, and in fact it'd be my understanding that this is in fact a bug. @feross ? |
dcousens
assigned
feross
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
If you use the latest standard 5.3.1,
Try reinstalling standard and give it another shot. |
feross
closed this
Sep 21, 2015
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ghost commentedSep 21, 2015
This is standard:
This is also standard:
I prefer the former, my coworker prefers the latter. Can't (shouldn't?) standard make us stop fighting? :)