github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/.golangci.yml (about)

     1  linters:
     2    enable:
     3    - asciicheck
     4    - bidichk
     5    - bodyclose
     6    - dupl
     7    - errorlint
     8    - exportloopref
     9    - gochecknoinits
    10    - gocritic
    11    - gofmt
    12    - gofumpt
    13    - lll
    14    - misspell
    15    - nilerr
    16    - prealloc
    17    - revive
    18    - unconvert
    19    - tparallel
    20    - wastedassign
    21    - whitespace
    22  
    23  issues:
    24    exclude-use-default: false
    25  
    26  linters-settings:
    27    errcheck:
    28      exclude-functions:
    29      - io.Copy
    30      - (io.Closer).Close
    31      - (io.Writer).Write
    32      - (hash.Hash).Write
    33      - (net.Conn).Close
    34      - (net.Conn).SetReadDeadline
    35      - (net.Conn).SetWriteDeadline
    36      - (*net.TCPConn).SetKeepAlive
    37      - (*net.TCPConn).SetKeepAlivePeriod
    38      - (*net.TCPConn).SetNoDelay
    39      - (net.Listener).Close
    40      - (net.PacketConn).Close
    41      - (net.PacketConn).SetReadDeadline
    42      - (net.PacketConn).SetWriteDeadline
    43      - (net/http.ResponseWriter).Write
    44      - (*net/http.Server).Serve
    45      - (*net/http.Server).ServeTLS
    46      - (*net/http.Server).Shutdown
    47      - os.Chdir
    48      - os.Mkdir
    49      - os.MkdirAll
    50      - os.Remove
    51      - os.RemoveAll
    52      - os.Setenv
    53      - os.Unsetenv
    54      - (*os.File).WriteString
    55      - (*os.File).Close
    56      - (github.com/datarhei/gosrt.Conn).Close
    57      - (github.com/datarhei/gosrt.Conn).SetReadDeadline
    58      - (github.com/datarhei/gosrt.Conn).SetWriteDeadline
    59      - (*github.com/bluenviron/gortsplib/v4.Client).Close
    60      - (*github.com/bluenviron/gortsplib/v4.Server).Close
    61      - (*github.com/bluenviron/gortsplib/v4.ServerSession).Close
    62      - (*github.com/bluenviron/gortsplib/v4.ServerStream).Close
    63      - (*github.com/bluenviron/gortsplib/v4.ServerConn).Close
    64  
    65    govet:
    66      enable-all: true
    67      disable:
    68      - fieldalignment
    69      - reflectvaluecompare
    70      - shadow