...

Text file src/github.com/containerd/log/.golangci.yml

Documentation: github.com/containerd/log

     1linters:
     2  enable:
     3    - exportloopref # Checks for pointers to enclosing loop variables
     4    - gofmt
     5    - goimports
     6    - gosec
     7    - ineffassign
     8    - misspell
     9    - nolintlint
    10    - revive
    11    - staticcheck
    12    - tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
    13    - unconvert
    14    - unused
    15    - vet
    16    - dupword # Checks for duplicate words in the source code
    17  disable:
    18    - errcheck
    19
    20run:
    21  timeout: 5m
    22  skip-dirs:
    23    - api
    24    - cluster
    25    - design
    26    - docs
    27    - docs/man
    28    - releases
    29    - reports
    30    - test # e2e scripts

View as plain text