diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index 3675d1d..a235195 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -88,6 +88,9 @@ issues: - path: "borrowed_.*_test\\.go" linters: [gocritic] text: "commentFormatting: put a space between `//` and comment text" + - path: "borrowed_.*_test\\.go" + linters: [gocritic] + text: "ifElseChain: rewrite if-else to switch statement" - path: "internal/" linters: [stylecheck] text: "ST1000" # package doc comment |