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 upAllow multiple spaces before `=` in variable declarations with standard config #312
Comments
This comment has been minimized.
This comment has been minimized.
|
Please see: https://github.com/feross/standard#i-disagree-with-rule-x-can-you-change-it If you feel really strongly about aligning your |
feross
closed this
Oct 30, 2015
This comment has been minimized.
This comment has been minimized.
|
Fair enough, just thought I'd ask. |
This comment has been minimized.
This comment has been minimized.
arminrosu
commented
May 22, 2016
|
@feross could you elaborate on the reason for this rule, why did you set it like that? e.g. "it is simpler & faster to lint". |
This comment has been minimized.
This comment has been minimized.
|
From the FAQ:
Please refrain from reviving old issues like this - it's not particularly appreciated by maintainers. I hope this answers your question though! If you have any other questions you're welcome to open a fresh issue. Cheers! |
standard
locked and limited conversation to collaborators
May 22, 2016
This comment has been minimized.
This comment has been minimized.
|
Some practical reasons for not aligning equals signs are:
|
nmai commentedOct 30, 2015
I like to match my
=assignment operators when declaring multiple variables at once, like so:This is the Standard style version:
Is there a way we can allow for this type of behavior without disabling the
no-multi-spacesrule?