github.com/MerlinKodo/quic-go@v0.39.2/.golangci.yml (about)

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