forked from aquasecurity/trivy-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
40 lines (40 loc) · 856 Bytes
/
.golangci.yml
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:
go: '1.19'
timeout: 5m
skip-dirs:
- cache
- assets
linters:
enable:
- gofmt
- bodyclose
- staticcheck
- unused
- gci
- gomodguard
- tenv
- gosimple
- govet
disable:
- errcheck
- ineffassign
- structcheck
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/aquasecurity/)
- blank
- dot
gomodguard:
blocked:
modules:
- github.com/hashicorp/go-version:
recommendations:
- github.com/aquasecurity/go-version
reason: "`aquasecurity/go-version` is degisned for our use-cases"
- github.com/Masterminds/semver:
recommendations:
- github.com/aquasecurity/go-version
reason: "`aquasecurity/go-version` is degisned for our use-cases"