From 89b6396e41957e21a7d3c0272b6226092ecdefb9 Mon Sep 17 00:00:00 2001 From: Umputun Date: Wed, 18 Dec 2024 15:57:39 -0600 Subject: [PATCH] update legacy keys for golangci linters config --- .golangci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 8d886395..15e19bbd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,14 +2,10 @@ run: timeout: 5m output: format: tab - skip-dirs: - - vendor linters-settings: govet: - check-shadowing: true - golint: - min-confidence: 0.1 + shadow: true maligned: suggest-new: true goconst: @@ -53,6 +49,8 @@ linters: disable-all: true issues: + exclude-dirs: + - vendor exclude-rules: - text: "package-comments: should have a package comment" linters: