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

fix: go linting on v1.23 #158

Merged
merged 2 commits into from
Aug 26, 2024
Merged

fix: go linting on v1.23 #158

merged 2 commits into from
Aug 26, 2024

Conversation

Justintime50
Copy link
Member

@Justintime50 Justintime50 commented Aug 22, 2024

I was playing with some Go items and found why we couldn't lint on Go 1.23, fixed via this PR.

After talking with the authors of golangci-lint, apparently our linting has just been silently failing for a year or two now because we ignored an inignorable rule but it didn't fail until this most recent version when they patched the silent failing. To correct the linter running, we need to properly name the functions which will remove the ability for them to "run" out of the box because users will need to change the function name to "main"; however, this properly lints the project now and found a dozen issues we needed to fix.

@Justintime50 Justintime50 requested a review from a team as a code owner August 22, 2024 23:03
@Justintime50 Justintime50 marked this pull request as ready for review August 26, 2024 17:42
@Justintime50 Justintime50 merged commit 40ec163 into master Aug 26, 2024
9 checks passed
@Justintime50 Justintime50 deleted the go_123_lint branch August 26, 2024 17:59
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