github.com/bluenviron/mediacommon@v1.9.3/.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    - usestdlibvars
    19    - unconvert
    20    - tparallel
    21    - wastedassign
    22    - whitespace
    23  
    24  issues:
    25    exclude-use-default: false
    26  
    27  linters-settings:
    28    errcheck:
    29      exclude-functions:
    30      - io.Copy
    31      - (io.Closer).Close
    32      - (io.Writer).Write
    33      - (hash.Hash).Write
    34      - (net.Conn).Close
    35      - (net.Conn).SetReadDeadline
    36      - (net.Conn).SetWriteDeadline
    37      - (*net.TCPConn).SetKeepAlive
    38      - (*net.TCPConn).SetKeepAlivePeriod
    39      - (*net.TCPConn).SetNoDelay
    40      - (net.Listener).Close
    41      - (net.PacketConn).Close
    42      - (net.PacketConn).SetReadDeadline
    43      - (net.PacketConn).SetWriteDeadline
    44      - (net/http.ResponseWriter).Write
    45      - (*net/http.Server).Serve
    46      - (*net/http.Server).ServeTLS
    47      - (*net/http.Server).Shutdown
    48      - os.Chdir
    49      - os.Mkdir
    50      - os.MkdirAll
    51      - os.Remove
    52      - os.RemoveAll
    53      - os.Setenv
    54      - os.Unsetenv
    55      - (*os.File).WriteString
    56      - (*os.File).Close
    57      - (github.com/datarhei/gosrt.Conn).Close
    58      - (github.com/datarhei/gosrt.Conn).SetReadDeadline
    59      - (github.com/datarhei/gosrt.Conn).SetWriteDeadline
    60      - (*github.com/bluenviron/gortsplib/v4.Client).Close
    61      - (*github.com/bluenviron/gortsplib/v4.Server).Close
    62      - (*github.com/bluenviron/gortsplib/v4.ServerSession).Close
    63      - (*github.com/bluenviron/gortsplib/v4.ServerStream).Close
    64      - (*github.com/bluenviron/gortsplib/v4.ServerConn).Close
    65  
    66    govet:
    67      enable-all: true
    68      disable:
    69      - fieldalignment
    70      - reflectvaluecompare
    71      - shadow