summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 15:10:46 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-10 21:48:22 -0700
commit48ca9982d8adbc402b750ce43a8a2a03270a98d1 (patch)
treed552f9eafd3615b015f82c22a46345e1758cb71a /.golangci.yml
parentc4ae41eba5e1c86c9a1edcaf80ef10cc3fe62eb1 (diff)
compat/json: Get more of the tests compiling
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml3
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