-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
42 lines (38 loc) · 782 Bytes
/
Copy path.golangci.yml
File metadata and controls
42 lines (38 loc) · 782 Bytes
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
linters-settings:
gocyclo:
# minimal code complexity to report
min-complexity: 10
maligned:
# print struct with more effective memory layout
suggest-new: true
lll:
line-length: 512
cyclop:
# minimal code complexity to report
max-complexity: 15
linters:
enable-all: true
disable:
- execinquery
- wrapcheck
- revive
- funlen
- wsl
- gocyclo
- errcheck
- gomnd
- paralleltest
- forbidigo
- mnd
- depguard
- gofumpt
- gochecknoglobals
- err113
issues:
exclude-use-default: true
# Maximum issues count per one linter. Set to 0 to disable.
max-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable
max-same: 0
# Show only new issues
new: false