summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-27 00:17:49 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commit2824310168b9dbe24c2d47cfb71d4283b1733642 (patch)
treed69110434583a40e5c3e17af3c5559b4918fb22b /.golangci.yml
parenta74b77265f6249385c38ba801822561872418fdf (diff)
.golangci.yml: Turn on 'stylecheck', fix
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 1076d1a..866c5a4 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -55,7 +55,6 @@ linters:
- ireturn
- lll
- revive
- - stylecheck
- testpackage
- thelper
- varnamelen
@@ -84,8 +83,12 @@ issues:
- gofumpt
- gosec
- noctx
+ - stylecheck
- path: "borrowed_.*_test\\.go"
linters: [gocritic]
text: "commentFormatting: put a space between `//` and comment text"
+ - path: "internal/"
+ linters: [stylecheck]
+ text: "ST1000" # package doc comment
max-issues-per-linter: 0
max-same-issues: 0