# golangci-lint configuration # See https://golangci-lint.run/usage/configuration/ version: "2" run: timeout: 5m tests: true modules-download-mode: readonly linters: enable: - errcheck - govet - staticcheck - gosec disable: - gocritic # Can be enabled later for stricter checks issues: max-issues-per-linter: 0 max-same-issues: 0 exclude: # Exclude test files from some checks - path: _test\.go linters: - errcheck - gosec