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

Update code for newer versions of golangci-lint #299

Open
stevendborrelli opened this issue Oct 7, 2024 · 0 comments
Open

Update code for newer versions of golangci-lint #299

stevendborrelli opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stevendborrelli
Copy link

stevendborrelli commented Oct 7, 2024

What problem are you facing?

When trying to update the build system to golangci-lint 1.60.1, we get a number of deprecated linters. To resolve we need to (at a minimum):

  • replace mega check with gosimple and static check
  • replace golint with revive
  • replace deprecated fields in .golangci.yaml

If we update those linters, revive will report a number of code issues that need to be refactored.

How could Crossplane help solve your problem?

  • Update golangci-lint to a modern version (v1.60.x or newer)
  • Update .golangci-lint for new directives and linters
  • Update code to resolve issues.
@stevendborrelli stevendborrelli added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant