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

refactor: ensure there is a newline before returns and branch statements #525

Closed
wants to merge 1 commit into from

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Mar 5, 2025

This is generally considered to improve readability by making it easier to spot when the control flow is changing

Relates to #274

@G-Rath G-Rath mentioned this pull request Mar 5, 2025
46 tasks
@G-Rath G-Rath force-pushed the linting/newline-before-returns branch from 2c39ad4 to 6b8e65d Compare March 5, 2025 19:27
@another-rex
Copy link
Collaborator

another-rex commented Mar 6, 2025

I'm not too enthusiastic about this lint, especially because of the number of files changed, and it is very likely to break for internal PRs where it is harder to view the github lint, and it doesn't really solve anything too important. I think we should just ignore this lint.

@G-Rath G-Rath force-pushed the linting/newline-before-returns branch from 6b8e65d to a44fa5d Compare March 6, 2025 01:27
@another-rex another-rex closed this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants