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

Use golangci-lint instead of golint #40

Merged
merged 3 commits into from
Jan 20, 2022

Conversation

minamijoyo
Copy link
Owner

We have been using golint as a linter, but golint was officially deprecated.
golang/go#38968

The revive is a drop-in replacement of golint.
https://github.com/mgechev/revive

It's possible to use revive as it is, but I'd like to use revive via golangci-lint so that we can add more linters easily.
https://github.com/golangci/golangci-lint

The golangci-lint is a meta linter. I'll take this opportunity to introduce some additional checks.
I've suppressed all existing lint errors to pass CI. I'll fix them following PRs.

We have been using golint as a linter, but golint was officially deprecated.
golang/go#38968

The revive is a drop-in replacement of golint.
https://github.com/mgechev/revive

It's possible to use revive as it is, but I'd like to use revive via
golangci-lint so that we can add more linters easily.
https://github.com/golangci/golangci-lint

The golangci-lint is a meta linter.
I'll take this opportunity to introduce some additional checks.
I'll fix them following PRs.
@minamijoyo minamijoyo force-pushed the use-golangci-instead-of-golint branch from 13cb3a9 to 13cbc5f Compare January 20, 2022 01:42
minamijoyo added a commit that referenced this pull request Jan 20, 2022
@minamijoyo minamijoyo mentioned this pull request Jan 20, 2022
minamijoyo added a commit that referenced this pull request Jan 20, 2022
@minamijoyo minamijoyo merged commit a1eb003 into master Jan 20, 2022
@minamijoyo minamijoyo deleted the use-golangci-instead-of-golint branch January 20, 2022 02:18
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.

1 participant