diff --git a/.golangci.yml b/.golangci.yml index b15feb4..30a8501 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,6 +3,7 @@ linters: disable: - decorder # Don't care about this - dupl # Basically every table driven test ever triggers this + - dupword # Messes with test cases more often than not - err113 # Out of date - exhaustruct # No - exportloopref # Go 1.22+ solves this @@ -103,7 +104,7 @@ linters-settings: - name: comment-spacings arguments: - - "nolint:" # Doesn't recognise this by default + - "nolint:" - name: cyclomatic disabled: true # cyclop does this @@ -132,4 +133,4 @@ linters-settings: - name: unhandled-error arguments: - fmt\.(Fp|P)rint(ln|f)? - - strings.Builder.WriteString + - strings.Builder.Write(String|Byte)?