-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy path.golangci.yml
More file actions
35 lines (28 loc) · 850 Bytes
/
.golangci.yml
File metadata and controls
35 lines (28 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
linters:
enable-all: true
disable:
- lll
- goerr113
- wsl
issues:
exclude-rules:
# Exclude known linters from partially hard-vendored code,
# which is impossible to exclude via "nolint" comments.
- path: internal/hmac/
text: "weak cryptographic primitive"
linters:
- gosec
- path: cmd/generate-retrieval-format-example/
text: "G306: Expect WriteFile permissions to be 0600 or less"
linters: [gosec]
- linters: [gochecknoglobals]
text: "`log` is a global variable"
- linters: [gochecknoglobals]
text: "`migrations` is a global variable"
path: pkg/persistence/migrator.go
- linters: [interfacer]
text: "`ctx` can be"
# # Exclude lll issues for long lines with go:generate
# - linters:
# - lll
# source: "^//go:generate "