diff --git a/.golangci.yml b/.golangci.yml index 46579a63..3f2383c0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -32,6 +32,12 @@ linters-settings: linters: enable-all: true disable: + # Allow dynamic errors. + - goerr113 + + # We want to allow short variable names. + - varnamelen + # Init functions are used by loggers throughout the codebase. - gochecknoinits @@ -46,6 +52,11 @@ linters: # instances are created. - exhaustruct + # Disable gofumpt as it has weird behavior regarding formatting multiple + # lines for a function which is in conflict with our contribution + # guidelines. See https://github.com/mvdan/gofumpt/issues/235. + - gofumpt + # Deprecated linters. See https://golangci-lint.run/usage/linters/. - interfacer - golint