From f1db4ed3f3ffcd51806782f07117c9aa05b6c19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Tigerstr=C3=B6m?= Date: Wed, 3 Jan 2024 01:52:13 +0100 Subject: [PATCH] .golangci.yml: disable gomnd in linter --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 5a0ee2f..dd4fdd1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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. #