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 upHow is “Never start a line with ( or [” ment? #110
Comments
This comment has been minimized.
This comment has been minimized.
|
I think that saying "never start a line" is actually more accurate than "never start a statement", though both are actually incorrect. The correct rule is " Instead of writing all that, I added a longer explanation to RULES.md and linked it from the list of rules in README.md. |
feross
closed this
Apr 21, 2015
lock
bot
locked as resolved and limited conversation to collaborators
May 11, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ausi commentedApr 11, 2015
“Never start a line with
(or[” is a very simple rule, but I’m not sure it means the right thing.standarddoesn’t generate errors for code like this:Is this a bug in
standardor is starting a line with(or[allowed in this case?If it is allowed, shouldn’t it say “Never start a statement with
(or[”?