-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
41 lines (39 loc) · 942 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:
concurrency: 0
allow-parallel-runners: true
allow-serial-runners: true
tests: false
go: '1.23'
linters:
enable-all: true
disable:
- goimports # Not needed
- depguard # Not needed
- gci # Encountering issues
- gofmt # Replaced by gofumpt
- nlreturn # Not needed
- wsl # Too strict
- wrapcheck # Not needed
- ireturn # Configuration is bugged
- bodyclose # Lots of false positives
- forcetypeassert # Not needed
- mnd # Not needed
- exhaustruct # Not needed
- cyclop # Not needed
- dupl # Not needed
- varnamelen # Not needed
- nonamedreturns # Not needed
- gochecknoinits # Not needed
- forbidigo # Not needed
- exhaustive # Not needed
- gocognit # Not needed
- exportloopref # Deprecated
linters-settings:
funlen:
lines: 120
statements: 55
lll:
line-length: 145
gocritic:
disabled-checks:
- singleCaseSwitch