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

chore: Enable specific linters instead of enabling them all #1891

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexandear
Copy link
Contributor

This PR changes golangci-lint configuration by replacing enable-all + disable specific linters with disable-all + enable specific linters. This is better because, in the case of upgrading the golangci-lint version, we don't need to fix additional lint issues introduced by the new version. Additionally, this setting is more stable because some linters are deprecated and removed from golangci-lint from time to time.

I used the command golangci-lint linters to see the list of currently enabled linters before changing the .golangci.yml file.

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