summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.golangci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index edb8499..f412141 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -35,7 +35,6 @@ linters:
- godot
- godox
- goerr113
- - gomnd
- gomoddirectives
- ireturn
- lll
@@ -70,6 +69,12 @@ linters-settings:
- appendAssign
gofmt:
simplify: true
+ gomnd:
+ ignored-numbers:
+ - '2'
+ ignored-functions:
+ - 'binutil.NeedNBytes'
+ - 'textui.Tunable'
nolintlint:
require-explanation: true
require-specific: true