From 24b3b1d1c90bb5c138abb6ef3dc9805c48c91823 Mon Sep 17 00:00:00 2001 From: ProtoTess <32490978+0x524A@users.noreply.github.com> Date: Mon, 1 Dec 2025 01:14:00 +0000 Subject: [PATCH] chore: update output format in golangci-lint config and improve response writing in tests --- .golangci.yml | 3 +++ device_storage_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index c58238d..ccd3a10 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,3 +7,6 @@ linters: run: timeout: 5m + +output: + format: colored-line-number diff --git a/device_storage_test.go b/device_storage_test.go index f078f68..56cd320 100644 --- a/device_storage_test.go +++ b/device_storage_test.go @@ -108,7 +108,7 @@ func newMockDeviceStorageServer() *httptest.Server { ` } - w.Write([]byte(response)) + _, _ = w.Write([]byte(response)) })) }