From be9daa8c232011e9285efe042df49ee4ba0b65ad Mon Sep 17 00:00:00 2001 From: Manuel Vogel <8409778+mavogel@users.noreply.github.com> Date: Wed, 26 Mar 2025 16:38:29 +0100 Subject: [PATCH] fix: remove deprecatad linter Signed-off-by: Manuel Vogel <8409778+mavogel@users.noreply.github.com> --- .golangci.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index c409770d..f3500e03 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,10 +13,6 @@ linters-settings: # report about shadowed variables check-shadowing: true - golint: - # minimal confidence for issues, default is 0.8 - min-confidence: 0.8 - gofmt: # simplify code: gofmt with `-s` option, true by default simplify: true @@ -76,18 +72,6 @@ linters-settings: range-loops: true # Report preallocation suggestions on range loops, true by default for-loops: false # Report preallocation suggestions on for loops, false by default - gocritic: - # Enable multiple checks by tags, run `GL_DEBUG=gocritic golangci-lint` run to see all tags and checks. - # Empty list by default. See https://github.com/go-critic/go-critic#usage -> section "Tags". - enabled-tags: - - performance - - settings: # settings passed to gocritic - captLocal: # must be valid enabled check name - paramsOnly: true - rangeValCopy: - sizeThreshold: 32 - misspell: locale: US @@ -96,13 +80,10 @@ linters: - megacheck - govet - gocyclo - - gocritic - - interfacer - goconst - goimports - gofmt # We enable this as well as goimports for its simplify mode. - prealloc - - golint - unconvert - misspell - nakedret @@ -124,16 +105,8 @@ issues: - errcheck - dupl - gosec - - scopelint - unparam - # These are performance optimisations rather than style issues per se. - # They warn when function arguments or range values copy a lot of memory - # rather than using a pointer. - - text: "(hugeParam|rangeValCopy):" - linters: - - gocritic - # Independently from option `exclude` we use default exclude patterns, # it can be disabled by this option. To list all # excluded by default patterns execute `golangci-lint run --help`.