From 5a2e11878bf800010c05a8fee43e7277049478c4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 24 Feb 2026 07:16:06 +0000 Subject: [PATCH] fix: correct configuration key from 'linters-settings' to 'settings' in golangci-lint files --- backend/.golangci-fast.yml | 2 +- backend/.golangci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/.golangci-fast.yml b/backend/.golangci-fast.yml index acf0c621..e9b54d63 100644 --- a/backend/.golangci-fast.yml +++ b/backend/.golangci-fast.yml @@ -12,7 +12,7 @@ linters: - ineffassign # Ineffectual assignments - unused # Unused code detection - gosec # Security checks (critical issues only) - linters-settings: + settings: govet: enable: - shadow diff --git a/backend/.golangci.yml b/backend/.golangci.yml index c89d75aa..4663bd4d 100644 --- a/backend/.golangci.yml +++ b/backend/.golangci.yml @@ -1,5 +1,5 @@ # golangci-lint configuration -version: 2 +version: "2" run: timeout: 5m tests: true @@ -14,7 +14,7 @@ linters: - staticcheck - unused - errcheck - linters-settings: + settings: gocritic: enabled-tags: - diagnostic