diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-10 21:48:38 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-10 21:48:38 -0700 |
commit | 95180a90db47990d32104ff7ab103e4862fd8426 (patch) | |
tree | 7733466fac856d93bfb6d6100fd703830a915567 /.golangci.yml | |
parent | e9f3bdc767027d134a072e09f16bcccac75fa59f (diff) | |
parent | ddffd7b78d81f1b47b5829eb9ff0aa1887cc3b17 (diff) |
Merge branch 'lukeshu/misc'
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 |