Uploaded image for project: 'External Secrets Operator for Red Hat OpenShift'
  1. External Secrets Operator for Red Hat OpenShift
  2. ESO-287

Update golangci-lint to version 2 in operator repo

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • OAPE Sprint 281
    • 1

      Update the golangci-lint tool used in the cert-manager-operator repo to version 2.

      • Update the `.golangci.yaml` to indicate version 2
      • Update the Makefile lint target to use `github.com/golangci/golangci-lint/v2/cmd/golangci-lint`
      • Update the tools/tool.go to import only `github.com/golangci/golangci-lint/v2/cmd/golangci-lint` and remove older version.
      • Update the go modules to use `v2.6.2` and vendor the new packages

      Acceptance Criteria:

      • Create jira story with all the reported the issues by the new linter.

              bhb@redhat.com Bharath B
              bhb@redhat.com Bharath B
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: