-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
43 lines (43 loc) · 968 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
linters:
# See the dedicated "linters" documentation section.
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- gofmt
- goimports
- misspell
- revive
- stylecheck
# All available settings of specific linters.
linters-settings:
# See the dedicated "linters-settings" documentation section.
errcheck:
check-type-assertions: true
govet:
check-shadowing: true
revive:
severity: warning
issues:
# See the dedicated "issues" documentation section.
- path: _test\.go
linters:
- errcheck
- gosec
# output configuration options
output:
# See the dedicated "output" documentation section.
format: colored-line-number
print-issued-lines: true
print-linter-name: true
# Options for analysis running.
run:
# See the dedicated "run" documentation section.
timeout: 1m
concurrency: 4
tests: true
modules-download-mode: readonly