...

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

Documentation: github.com/containerd/fifo

     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
    20linters-settings:
    21  gosec:
    22    # The following issues surfaced when `gosec` linter
    23    # was enabled. They are temporarily excluded to unblock
    24    # the existing workflow, but still to be addressed by
    25    # future works.
    26    excludes:
    27      - G204
    28      - G305
    29      - G306
    30      - G402
    31      - G404
    32
    33run:
    34  timeout: 3m
    35  skip-dirs:
    36    - vendor

View as plain text