Uploaded image for project: 'Cert Manager support for Red Hat OpenShift'
  1. Cert Manager support for Red Hat OpenShift
  2. CM-902

Fix issues reported by the golangci-lint tool - part 2

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • cert-manager-1.19
    • cert-manager-1.19
    • None
    • 3
    • False
    • Hide

      None

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

      In the previous task https://issues.redhat.com/browse/CM-841, a number of issues reported by the default enabled linters were fixed and this tracker is for resolving the issues suggested by the then disabled linters

          # depguard has configuration issues in golangci-lint v2 - see https://github.com/golangci/golangci-lint/issues/3906
          - depguard
          # Below linters will be enabled once the issues reported by enabled linters are fixed.
          - dupl
          - cyclop
          - gocyclo
          - gocognit
          - err113
          - revive
          - maintidx
          - mnd
          # Below linters will be enabled when the golangci-lint is upgraded to the version supporting these.
          #- embeddedstructfieldcheck
          #- godoclint
          #- iotamixing
          #- modernize
      

      Acceptance Criteria:

      • All reported issues are resolved
      • The `lint` target is added to the `verify` target list.

              anankuma Anand Kumar
              bhb@redhat.com Bharath B
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: