Skip to content

Commit

Permalink
.golangci: disable gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
ellemouton committed Nov 20, 2023
1 parent 1f2aec4 commit e7bac69
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit e7bac69

Please sign in to comment.