summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 23:30:37 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commitb0b7c75e9e2ee8c80a82a04562a1a7c7d117ae0e (patch)
tree3dbde7db70ecd7eb33fd79e710030d88c1714ad6 /.golangci.yml
parent676d6be02292900c2ba47f5c1a95b42ab81a7b93 (diff)
.golangci.yml: Turn on 'gocritic', fix
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 765176c..6291572 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -51,7 +51,6 @@ linters:
- forcetypeassert
- gochecknoglobals
- gochecknoinits
- - gocritic
- godot
- gomnd
- ireturn
@@ -88,5 +87,8 @@ issues:
- errcheck
- gofumpt
- gosec
+ - path: "borrowed_.*_test\\.go"
+ linters: [gocritic]
+ text: "commentFormatting: put a space between `//` and comment text"
max-issues-per-linter: 0
max-same-issues: 0