minamijoyo / tfupdate

Update version constraints in your Terraform configurations
MIT License
542 stars 23 forks source link

Use golangci instead of golint #60

Closed minamijoyo closed 2 years ago

minamijoyo commented 2 years ago

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.