-
Notifications
You must be signed in to change notification settings - Fork 5
/
.golangci.yml
42 lines (40 loc) · 890 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
run:
modules-download-mode: readonly
skip-files:
- unzip.go
# all available settings of specific linters
linters-settings:
govet:
check-shadowing: true
settings:
printf:
funcs:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
golint:
min-confidence: 0
gocyclo:
min-complexity: 10
maligned:
suggest-new: true
misspell:
locale: US
# ignore-words:
# - someword
gocritic:
disabled-checks:
- sloppyReassign
enabled-tags:
- performance
- style
- experimental
linters:
enable-all: true
disable:
- maligned
- wsl
- gocognit
- gofumpt
- varnamelen