mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
The static-analysis CI job runs 'staticcheck ./...' directly. Standalone staticcheck uses //lint:ignore directives, not the //nolint comments that golangci-lint reads. SA1008 (non-canonical header key) on three ETag lines: handlers_etag_test.go:228, :270 mac_mapping_integration_test.go:226 ETag must stay non-canonical — Bose speakers reject 'Etag'. Existing //nolint:canonicalheader / //nolint:staticcheck comments remain for golangci-lint; //lint:ignore SA1008 is added for the standalone staticcheck invocation. U1000 (unused function) on writeBMXUnauthorized in handlers_bmx.go: The auth gate is temporarily disabled; the helper is kept as a restore point. //lint:ignore U1000 replaces //nolint:unused because golangci-lint's staticcheck runner also honours //lint:ignore, making //nolint:unused redundant (nolintlint would complain). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>