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 upProposal: New line per chained call #799
Comments
This comment has been minimized.
This comment has been minimized.
|
Duplicate: #720 |
feross
closed this
Feb 21, 2017
This comment has been minimized.
This comment has been minimized.
|
Doh, sorry than, it seems that was the issue which i read, haha. :) Great. |
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.
tunnckoCore commentedFeb 21, 2017
Digging more and more in ESLint rules, i found some good ones which enforces good style and more readable code. This issue is for newline-per-chained-call rule - not fixable.
Suggested configuration.
{ "newline-per-chained-call": "error" }In the rule page is shown great example of
diffand why it is more readable and clean. It reminds me to one other rule, but can't remember what it was. I also seen discussion in some issues here about that is's better.Invalid
Valid
Very good for git diffs.