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

Enable more linters in .golangci.yml #504

Merged
merged 3 commits into from
Mar 10, 2024
Merged

Conversation

fxamacker
Copy link
Owner

@fxamacker fxamacker commented Mar 9, 2024

Added 7 more linters in .golangci.yml. While at it, updated some linter settings and use go1.22 in ci.yml.

I can remove goconst, etc. or relax settings if a linter gets too noisy.

@fxamacker fxamacker added the CI CI using GitHub Actions Workflow label Mar 9, 2024
@fxamacker
Copy link
Owner Author

@x448 PTAL

Remove hardcoded number of linters since
that can change.
@fxamacker fxamacker merged commit 4a6e6d1 into master Mar 10, 2024
17 checks passed
@@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go-version: [1.17, 1.19, '1.20', 1.21]
Copy link
Contributor

Choose a reason for hiding this comment

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

@fxamacker Did you intend to remove 1.21 here?

Copy link
Owner Author

Choose a reason for hiding this comment

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

@benluddy Good catch! 👍 Yes, I replaced 1.21 with 1.22 here with the intention of using 1.21 more extensively than the other versions but didn't finish refactoring workflows on Sunday.

I'll open issue so I don't forget.

@fxamacker fxamacker deleted the fxamacker/enable-more-linters branch September 7, 2024 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI using GitHub Actions Workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants