Skip to content

Commit 6f969c9

Browse files
.golangci.yml: disable gomnd in linter
1 parent 4a43139 commit 6f969c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ linters:
7070
# guidelines. See https://github.com/mvdan/gofumpt/issues/235.
7171
- gofumpt
7272

73+
# Disable gomnd even though we generally don't use magic numbers, but there
74+
# are exceptions where this improves readability.
75+
- gomnd
76+
7377
# Disable whitespace linter as it has conflict rules against our
7478
# contribution guidelines. See https://github.com/bombsimon/wsl/issues/109.
7579
#

0 commit comments

Comments
 (0)