github.com/metacubex/quic-go@v0.44.1-0.20240520163451-20b689a59136/.golangci.yml (about)

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