...

Text file src/github.com/google/go-containerregistry/.golangci.yaml

Documentation: github.com/google/go-containerregistry

     1run:
     2  timeout: 5m
     3
     4  skip-dirs:
     5    - internal
     6    - pkg/registry
     7
     8issues:
     9  exclude-rules:
    10    - path: test # Excludes /test, *_test.go etc.
    11      linters:
    12        - gosec
    13
    14linters:
    15  enable:
    16  - asciicheck
    17  - depguard
    18  - errorlint
    19  - gofmt
    20  - gosec
    21  - goimports
    22  - importas
    23  - prealloc
    24  - revive
    25  - misspell
    26  - stylecheck
    27  - tparallel
    28  - unconvert
    29  - unparam
    30  - unused
    31  - whitespace
    32
    33  disable:
    34  - errcheck
    35
    36linters-settings:
    37  depguard:
    38    include-go-root: true
    39    packages-with-error-message:
    40    - crypto/sha256: "use crypto.SHA256 instead"

View as plain text