Skip to content

Commit e56c7d2

Browse files
committed
Disable gocognit linter
It is somewhat arbitrary, especially when dealing with switch statements and code may be inlined for performance reasons.
1 parent 3623225 commit e56c7d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ disable = [
1818
"forcetypeassert",
1919
"funlen",
2020
"gochecknoglobals",
21+
"gocognit",
2122
"godox",
2223
"gomnd",
2324
"inamedparam",

0 commit comments

Comments
 (0)