From a373ff1396b33ca1f72227b78fbe252cb94003e6 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Sat, 22 Feb 2025 15:40:47 +0100 Subject: [PATCH] chore: remove deprecated golang-ci config value (#6596) Remove deprecated maligned config value from the golang-ci configuration file. Close #6120 --- TEMPLATES/.golangci.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/TEMPLATES/.golangci.yml b/TEMPLATES/.golangci.yml index 87e05037..3207c580 100644 --- a/TEMPLATES/.golangci.yml +++ b/TEMPLATES/.golangci.yml @@ -1,12 +1,5 @@ --- -######################### -######################### -## Golang Linter rules ## -######################### -######################### - -# configure golangci-lint -# see https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml +# Ref https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml issues: exclude-rules: - path: _test\.go @@ -36,6 +29,3 @@ linters-settings: gocyclo: # minimal code complexity to report, 30 by default min-complexity: 15 - maligned: - # print struct with more effective memory layout or not, false by default - suggest-new: true