run: build-tags: - netgo linters: enable: - asasalint - asciicheck - bidichk - bodyclose - copyloopvar - dogsled - durationcheck - errcheck - errorlint - gocyclo - gocritic - goprintffuncname - gosec - gosimple - govet - ineffassign - misspell - nakedret - nilerr - rowserrcheck - staticcheck - typecheck - unconvert - unused - whitespace issues: exclude-rules: - path: scanner2 linters: - unused linters-settings: gocritic: disable-all: true enabled-checks: - deprecatedComment govet: enable: - nilness gosec: excludes: - G501 - G401 - G505 - G115 # Can't check context, where the warning is clearly a false positive. See discussion in https://github.com/securego/gosec/pull/1149