cast-ghl-plugin/.golangci.yml
Head of Product & Engineering 675f765cc0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: resolve golangci-lint failures and .gitignore scope issue
- cmd/server/main.go: acknowledge w.Write return value (errcheck)
- internal/store/mongo.go: use errors.Is for ErrNoDocuments (errorlint)
- .golangci.yml: add linter config scoped to relevant linters
- .gitignore: scope /server to root only (was blocking cmd/server/ directory)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-05 21:22:03 +02:00

26 lines
407 B
YAML

linters:
enable:
- errcheck
- govet
- staticcheck
- gosimple
- ineffassign
- unused
- errorlint
- gocritic
- revive
linters-settings:
revive:
rules:
- name: exported
disabled: true
issues:
exclude-rules:
# Test files can use dot-imports and assertion helpers freely
- path: _test\.go
linters:
- errcheck
- gocritic