1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25version: "2" run: tests: true timeout: 1m linters: enable: - govet # correctness - errcheck # error handling - staticcheck # static analysis - gosec # security - revive # best practices settings: gosec: excludes: - G104 # disregard errors not requiring explicit handling - G204 # allow subprocess launching with validated config inputs exclusions: presets: - comments - std-error-handling