Skip to content

Commit

Permalink
.golangci.yml: disable gomnd in linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorTigerstrom committed Jan 3, 2024
1 parent e09187e commit f1db4ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ linters:
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
- gofumpt

# Disable gomnd even though we generally don't use magic numbers, but there
# are exceptions where this improves readability.
- gomnd

# Disable whitespace linter as it has conflict rules against our
# contribution guidelines. See https://github.com/bombsimon/wsl/issues/109.
#
Expand Down

0 comments on commit f1db4ed

Please sign in to comment.