Skip to content

Conversation

@mohammed90
Copy link
Member

Assistance Disclosure

No AI was used.

Signed-off-by: Mohammed Al Sahaf <[email protected]>
Signed-off-by: Mohammed Al Sahaf <[email protected]>
@mohammed90
Copy link
Member Author

mohammed90 commented Sep 26, 2025

Apparently we now don't like naked returns

Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I prefer the explicit returns, yeah.

But can golangci please stop adding lints out of nowhere, thanks. 🤦‍♂️

@francislavoie francislavoie merged commit 25be2f2 into master Sep 26, 2025
26 checks passed
@francislavoie francislavoie deleted the lint-fix branch September 26, 2025 07:14
@mholt
Copy link
Member

mholt commented Sep 26, 2025

Naked returns can be useful in the sense that simpler code can mean less room for error (i.e. can't write the wrong variable name to return) -- but anyway, LGTM. Thanks for the patch! I keep forgetting the linters can change under our feet.

@github-actions github-actions bot mentioned this pull request Dec 3, 2025
4 tasks
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.

4 participants