-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brace-style #217
Comments
At present the rule is requiring the else statement to start on the same line as the closing brace for the
I prefer the
Anyone have thoughts on this? |
@eliasCodes I very much prefer to use the |
@nelsonic I have no particular objections, might want to ask someone who uses |
@eliasCodes great point! 🔍 |
@nelsonic not necessarily, I was just pointing it out. Like I said, I'm happy either way. You can make arguments for legibility/comprehension on both sides I think. |
http://eslint.org/docs/rules/brace-style
Use 1tbs by default, allow single line statements, although should only use them in v. simple cases
The text was updated successfully, but these errors were encountered: