version: "2" run: timeout: 5m tests: true linters: enable: - revive - govet - errcheck - staticcheck - unused - ineffassign - gosec - misspell - unparam - prealloc - copyloopvar - gocritic - gochecknoinits - gochecknoglobals linters-settings: revive: confidence: 0.8 govet: enable: - shadow errcheck: check-type-assertions: true check-blank: true issues: exclude-rules: # Exclude globals check for version variables in main - path: cmd/webhooker/main.go linters: - gochecknoglobals # Exclude globals check for version variables in globals package - path: internal/globals/globals.go linters: - gochecknoglobals