From 3b85a64c2d38370133b58e21341ea1b120db108e Mon Sep 17 00:00:00 2001 From: Grzegorz Dlugoszewski Date: Sun, 24 Aug 2025 18:27:41 +0200 Subject: [PATCH] Disable mnd linter --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index ec4a45a..56737a3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,6 +18,7 @@ linters: - forbidigo # Not suitable for CLI apps where printing to stdout is fine - gochecknoglobals # It's too strict and doesn't distinguish between "bad" globals (mutable shared state) and "good" globals (immutable configuration) - godox # TODO: enable it and handle all the remaning TODOs + - mnd # Impractical. We deal with numbers like file permissions here, it's much clearer to see them explicitly. - paralleltest # Tests are fast already and paralellizing them adds complexity - testpackage # TODO: renable it and refactor tests into separate packages - unparam # Impractical, it flags functions that are designed to be general-purpose, but happen to only be used with specific values currently