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

ci: Use golangci-lint #406

Merged
merged 1 commit into from
Feb 13, 2024
Merged

ci: Use golangci-lint #406

merged 1 commit into from
Feb 13, 2024

Commits on Feb 11, 2024

  1. ci: Use golangci-lint

    This PR switches to using golangci-lint to run linters.
    staticcheck is included and enabled by default.
    We add revive and a few others.
    All issues reported by the linters have been fixed.
    
    This also allows the linter to run in parallel with the tests.
    
    License header check has also been moved to golangci-lint,
    similarly to uber-go/fx#1157.
    
    Refs uber-go/fx#1150
    Refs uber-go/zap#1323
    abhinav committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    7542542 View commit details
    Browse the repository at this point in the history