-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
56 lines (56 loc) · 907 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
44
45
46
47
48
49
50
51
52
53
54
55
56
run:
timeout: 1m
issues-exit-code: 1
tests: true
skip-dirs:
- coverage
skip-dirs-use-default: true
allow-parallel-runners: false
output:
format: colored-line-number
print-issued-lines: true
print-linter-name: true
uniq-by-line: true
linters:
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- errcheck
- funlen
- goconst
- gocritic
- gocyclo
- gocognit
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- lll
- maligned
- megacheck
- misspell
- nakedret
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
disable:
- prealloc
disable-all: false
fast: false
severity:
default-severity: error
case-sensitive: false