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

lint: use revive instead of golint #3248

Merged
merged 2 commits into from
Jun 26, 2021
Merged

lint: use revive instead of golint #3248

merged 2 commits into from
Jun 26, 2021

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Jun 10, 2021

lint: replace golint with revive in golangci-lint linters

Use revive with golangci-lint instead of golint; golint is officially
deprecated.

lint: use revive for :GoLint

Use revive with golangci-lint instead of golint; golint is officially
deprecated.
@bhcleek bhcleek added this to the vim-go 1.26 milestone Jun 10, 2021
@bhcleek bhcleek merged commit 13108b0 into fatih:master Jun 26, 2021
@bhcleek bhcleek deleted the revive branch June 26, 2021 22:28
bhcleek added a commit that referenced this pull request Jun 26, 2021
@Rican7
Copy link
Contributor

Rican7 commented Aug 16, 2021

Any reason that you went with revive over staticcheck?

The golint repo even recommends staticcheck: golang/lint@6edffad

@bhcleek
Copy link
Collaborator Author

bhcleek commented Aug 16, 2021

revive is a tool "such as", vim-go already has support for staticcheck as a metalinter, and arguably staticcheck is more of a metalinter than revive is.

@Rican7
Copy link
Contributor

Rican7 commented Aug 16, 2021

Ah, fair. Thanks!

@bhcleek bhcleek mentioned this pull request Apr 10, 2022
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