...

Text file src/github.com/docker/distribution/.golangci.yml

Documentation: github.com/docker/distribution

     1linters:
     2  enable:
     3    - staticcheck
     4    - unconvert
     5    - gofmt
     6    - goimports
     7    - golint
     8    - ineffassign
     9    - vet
    10    - unused
    11    - misspell
    12  disable:
    13    - errcheck
    14
    15linters-settings:
    16  revive:
    17    rules:
    18      # TODO(thaJeztah): temporarily disabled the "unused-parameter" check.
    19      # It produces many warnings, and some of those may need to be looked at.
    20      - name: unused-parameter
    21        disabled: true
    22
    23run:
    24  deadline: 2m
    25  skip-dirs:
    26    - vendor
    27
    28issues:
    29  exclude-rules:
    30    # io/ioutil is deprecated, but won't be removed until Go v2. It's safe to ignore for the release/2.8 branch.
    31    - text: "SA1019: \"io/ioutil\" has been deprecated since Go 1.16"
    32      linters:
    33        - staticcheck

View as plain text