forked from jstarks/npiperelay
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.golangci.yml
33 lines (29 loc) · 892 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
linters:
# Disable all defaults, then enable individual linters explicitely
disable-all: true
enable:
# Enable the ones that are by default
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
# Enable remaining linters required to match checks performed by stand-alone staticcheck tool (corresponds to: staticcheck, stylecheck, gosimple and unused)
- stylecheck
# Add some additional linters
- goimports
- revive
- unconvert
- misspell
- prealloc
issues:
# Enable some lints excluded by default
exclude-use-default: false
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0
run:
# Timeout for analysis, e.g. 30s, 5m. Default is 1m.
timeout: 3m