github.com/apernet/quic-go@v0.43.1-0.20240515053213-5e9e635fd9f0/.golangci.yml (about)

     1  run:
     2    skip-files:
     3      - internal/handshake/cipher_suite.go
     4  linters-settings:
     5    misspell:
     6      ignore-words:
     7        - ect
     8    depguard:
     9      rules:
    10        quicvarint:
    11          list-mode: strict
    12          files:
    13            - "**/github.com/quic-go/quic-go/quicvarint/*"
    14            - "!$test"
    15          allow:
    16            - $gostd
    17  
    18  linters:
    19    disable-all: true
    20    enable:
    21      - asciicheck
    22      - depguard
    23      - exhaustive
    24      - exportloopref
    25      - goimports
    26      - gofmt # redundant, since gofmt *should* be a no-op after gofumpt
    27      - gofumpt
    28      - gosimple
    29      - ineffassign
    30      - misspell
    31      - prealloc
    32      - staticcheck
    33      - stylecheck
    34      - unconvert
    35      - unparam
    36      - unused
    37      - vet
    38  
    39  issues:
    40    exclude-rules:
    41      - path: internal/qtls
    42        linters:
    43          - depguard