Files
syncwarden/.golangci.yml
Axel Meyer 17ab9d05e7
Some checks failed
CI / lint (push) Failing after 35s
CI / test (push) Successful in 33s
Exclude gosec G104 on binary.Write in render.go
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:11:08 +01:00

29 lines
692 B
YAML

version: "2"
linters:
enable:
- errcheck
- gosec
- govet
- ineffassign
- staticcheck
- unused
exclusions:
presets:
- std-error-handling
rules:
# binary.Write in ICO header encoding — panic-level errors only
- path: internal/icons/render\.go
linters: [errcheck, gosec]
source: "binary\\.Write"
# systray menu.ShowMenu has no meaningful error
- path: internal/tray/
linters: [errcheck]
source: "ShowMenu"
# Setup binary is a CLI wizard; best-effort error handling is acceptable
- path: cmd/setup/
linters: [errcheck, gosec]
paths:
- cmd/panel
- cmd/icongen