-
Notifications
You must be signed in to change notification settings - Fork 2
/
.golangci.yaml
50 lines (48 loc) · 879 Bytes
/
.golangci.yaml
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
49
50
run:
skip-dirs:
- test/testdata_etc # test files
- pkg/networkfilter
- internal/cache # extracted from Go code
- internal/renameio # extracted from Go code
- internal/robustio # extracted from Go code
linters-settings:
govet:
check-shadowing: true
maligned:
suggest-new: true
misspell:
locale: US
revive:
rules:
- name: package-comments
disabled: true
linters:
enable-all: false
enable:
- bodyclose
- dogsled
- errcheck
- exportloopref
- gocheckcompilerdirectives
- goconst
- gocritic
- gofmt
- goimports
# - gomnd
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- lll
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- whitespace