diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-01 20:48:22 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-01 22:42:08 -0700 |
commit | d7c4f6589206df1a55bf6297992824814f53c5a7 (patch) | |
tree | f1962109f9617a5741eaa7c8e65eec903a6a6b9c | |
parent | 2ca0e039e740a1a3b0c8bce7ca6dd6647f0a5319 (diff) |
lint: Turn on gomnd
-rw-r--r-- | .golangci.yml | 7 |
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 |