diff --git a/.golangci.yml b/.golangci.yml index 53b29e6b..f4f247cd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -81,6 +81,13 @@ linters: # - whitespace - wrapcheck +issues: + exclude-rules: + # Disable funlen for "func Test..." or func (suite *Suite) Test..." type functions + # These functions tend to be descriptive and exceed length limits. + - source: "^func (\\(.*\\) )?Test" + linters: + - funlen linters-settings: errcheck: