forked from Kong/deck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
48 lines (48 loc) · 838 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
41
42
43
44
45
46
47
48
linters:
enable:
- asciicheck
- depguard
- dogsled
- durationcheck
- exhaustive
- exportloopref
- gci
- goconst
- gofmt
- gofumpt
- goimports
- gomnd
- gomodguard
- gosec
- govet
- importas
- lll
- megacheck
- misspell
- nakedret
- nilerr
- nolintlint
- predeclared
- revive
- stylecheck
- unconvert
- unparam
- wastedassign
issues:
exclude-rules:
- linters:
- gosec
text: "weak cryptographic primitive"
path: "state/indexers/md5Indexer.*"
- linters:
- gosec
text: "weak random number generator"
path: _test\.go
- linters:
- errcheck
text: "Error return value" # ignore err not checked in test files
path: _test\.go
- linters:
- gosec
text: "Expect WriteFile permissions to be 0600 or less"
path: file/codegen/main.go