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

nogo: enable SA1024 #6269

Merged
merged 1 commit into from
Mar 29, 2024
Merged

nogo: enable SA1024 #6269

merged 1 commit into from
Mar 29, 2024

Conversation

sluongng
Copy link
Contributor

This helps us identify strings.TrimLeft and strings.TrimRight miss
uses.

Reference: https://staticcheck.io/docs/checks/#SA1024

This helps us identify `strings.TrimLeft` and `strings.TrimRight` miss
uses.

Reference: https://staticcheck.io/docs/checks/#SA1024
Copy link
Contributor

@iain-macdonald iain-macdonald left a comment

Choose a reason for hiding this comment

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

Dang TrimLeft...

@sluongng sluongng merged commit d3526f5 into master Mar 29, 2024
15 of 16 checks passed
@sluongng sluongng deleted the sluongng/enable-SA1024 branch March 29, 2024 16:03
iain-macdonald added a commit that referenced this pull request Apr 3, 2024
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.

None yet

2 participants