From 9f3b31af87567aa84c267c541ef5c59dea27a657 Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Mon, 3 Feb 2025 10:07:36 +0000 Subject: [PATCH] fix(ci): delete removed golangci-lint options A number of these are for long-deprecated and now removed linters and no longer validate against the config schema so remove them here. Add hint for yaml-language-server to point at the jsonschema to validate against. Signed-off-by: Dominic Evans --- .golangci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 82dc8dc6b..15d259c99 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,16 +1,12 @@ +# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json run: timeout: 5m - deadline: 10m linters-settings: govet: - shadow: false - golint: - min-confidence: 0 + enable-all: true gocyclo: min-complexity: 99 - maligned: - suggest-new: true dupl: threshold: 100 goconst: @@ -71,7 +67,6 @@ linters: - govet - misspell - nilerr - - staticcheck - typecheck - unconvert - unused