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 upDocumentation or formatter for consistent spacing rules #228
Comments
dcousens
added
the
question
label
Aug 12, 2015
This comment has been minimized.
This comment has been minimized.
|
Thanks for pointing out that this is confusing. I opened an issue on |
feross
closed this
Aug 13, 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.
nknapp commentedAug 12, 2015
I'm would like to have documentation on rules about consistent spacing. I had a file containing a line similar to
which is not consistently spaced, appearently. I changed it to
which still didn't work. Then wondered, if "consistent" meant "consistent across the project/file/statement".
Finally I found out that the following examples work
The best thing would be to have the formatter correct those errors automatically based on the initial spacing. Second best would be documentation with a few example about what is allowed and what isn't.