From 0ca134ca7ee14db37eafdbd48384d8960d386915 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 13 Aug 2024 10:50:24 -0400 Subject: [PATCH] [wip] .golangci.yml --- .golangci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5b76972b..4a5cc459 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,7 +12,7 @@ linters-settings: errcheck: check-type-assertions: true govet: - check-shadowing: true + shadow: true unparam: check-exported: true unused: @@ -31,23 +31,20 @@ linters-settings: run: skip-dirs-use-default: true - skip-dirs: + exclude-dirs: - (^|/)mock($|/) - internal/valtools timeout: 3m linters: enable: - - deadcode - errcheck - gosimple - govet - ineffassign - staticcheck - - structcheck - typecheck - unused - - varcheck # - gosec - unparam - unconvert @@ -59,5 +56,4 @@ linters: - whitespace - rowserrcheck - godot - - ifshort - - nakedret \ No newline at end of file + - nakedret