-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
executable file
·68 lines (63 loc) · 979 Bytes
/
.golangci.yml
File metadata and controls
executable file
·68 lines (63 loc) · 979 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "2"
run:
go: "1.24"
timeout: 5m
tests: false
issues-exit-code: 1
modules-download-mode: readonly
allow-parallel-runners: true
issues:
max-issues-per-linter: 0
max-same-issues: 0
new: false
fix: false
output:
formats:
text:
print-linter-name: true
print-issued-lines: true
formatters:
exclusions:
paths:
- vendors/
enable:
- gofmt
- goimports
linters:
settings:
staticcheck:
checks:
- all
- -S1023
- -ST1000
- -ST1003
- -ST1020
gosec:
excludes:
- G104
- G115
- G301
- G304
- G306
- G501
- G505
exclusions:
paths:
- vendors/
default: none
enable:
- govet
- errcheck
- misspell
- gocyclo
- ineffassign
- unparam
- unused
- prealloc
- durationcheck
- staticcheck
- makezero
- nilerr
- errorlint
- bodyclose
- gosec