Files
certctl/.golangci.yml
T
shankar0123 5716d227b1 fix(ci): remove typecheck from golangci-lint v2 config
typecheck is built-in in v2 and cannot be explicitly enabled/disabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 23:07:50 -04:00

32 lines
605 B
YAML

version: "2"
run:
timeout: 5m
linters:
default: none
enable:
- errcheck
- govet
- staticcheck
- unused
- ineffassign
- gocritic
- gosec
- bodyclose
- noctx
settings:
errcheck:
check-type-assertions: true
gocritic:
enabled-tags:
- diagnostic
- performance
gosec:
excludes:
- G104 # Audit errors not checked (we have intentional fire-and-forget patterns)
- G304 # File inclusion via variable (needed for config-driven file paths)
exclusions:
max-issues-per-linter: 50
max-same-issues: 5