Skip to content
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

add rule (rrd) if without curly braces #111

Closed
rrd108 opened this issue Aug 8, 2024 · 2 comments · Fixed by #136
Closed

add rule (rrd) if without curly braces #111

rrd108 opened this issue Aug 8, 2024 · 2 comments · Fixed by #136
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed P3 Low priority

Comments

@rrd108
Copy link
Owner

rrd108 commented Aug 8, 2024

if (filter)
   return true
@David-Pena David-Pena added enhancement New feature or request help wanted Extra attention is needed P3 Low priority labels Aug 8, 2024
@David-Pena
Copy link
Collaborator

Whats the rule here? to not use curly braces when if are one line deep? or to use them?

@rrd108
Copy link
Owner Author

rrd108 commented Aug 12, 2024

🫣 to use them even for one liners

@David-Pena David-Pena self-assigned this Aug 13, 2024
@David-Pena David-Pena linked a pull request Aug 13, 2024 that will close this issue
@rrd108 rrd108 closed this as completed in b124f4f Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed P3 Low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants