-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
41 lines (39 loc) · 966 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
run:
# Autogenerated files take too much time and memory to load,
# even if we skip them with -skip-dirs or -skip-dirs;
# or mark them as generated; or use nolint annotations.
# So we define this tag and use it in the autogenerated files.
build-tags:
- codeanalysis
linters:
enable:
- gofmt
- gocyclo
- golint
- misspell
- typecheck
- errcheck
- dogsled
- unconvert
- nakedret
- scopelint
issues:
exclude-use-default: false
exclude:
- Error return value of `.*Close` is not checked
- Error return value of `.*Flush` is not checked
- Error return value of `.*Write` is not checked
- Error return value of `.*Stop` is not checked
exclude-rules:
- path: pkg/listeners/base_listener.go
linters:
- gofmt
- gocyclo
- golint
- misspell
- typecheck
- errcheck
- dogsled
- unconvert
- nakedret
- scopelint