blob: 1dee826a6682df85abb40470e2136caad299aefa (
plain)
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
36
37
38
39
40
|
run:
timeout: 5m
skip-dirs:
- internal
- pkg/registry
issues:
exclude-rules:
- path: test # Excludes /test, *_test.go etc.
linters:
- gosec
linters:
enable:
- asciicheck
- depguard
- errorlint
- gofmt
- gosec
- goimports
- importas
- prealloc
- revive
- misspell
- stylecheck
- tparallel
- unconvert
- unparam
- unused
- whitespace
disable:
- errcheck
linters-settings:
depguard:
include-go-root: true
packages-with-error-message:
- crypto/sha256: "use crypto.SHA256 instead"
|