Files
sgard/.golangci.yaml
Kyle Isom 3cac9a3530 Step 26: Test cleanup.
Tightened lint config (added copyloopvar, durationcheck, makezero,
nilerr, bodyclose). Added 3 combo tests: encrypted+locked files,
dir-only+locked entries, lock/unlock toggle on encrypted entries.
Fixed stale API signatures in ARCHITECTURE.md. All tests already
used t.TempDir() and AddOptions{} consistently.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 12:45:29 -07:00

31 lines
432 B
YAML

version: "2"
linters:
enable:
- errcheck
- govet
- ineffassign
- unused
- errorlint
- staticcheck
- copyloopvar
- durationcheck
- makezero
- nilerr
- bodyclose
linters-settings:
errcheck:
check-type-assertions: true
govet:
disable:
- shadow
issues:
max-issues-per-linter: 0
exclude-rules:
- path: _test\.go
linters:
- gosec
- errcheck