-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.golangci.yml
48 lines (44 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
run:
tests: false
linters:
disable-all: true
enable:
- bodyclose
- dogsled
- copyloopvar
- goconst
- gocritic
- gofmt
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- nolintlint
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
- unparam
issues:
max-issues-per-linter: 10000
max-same-issues: 10000
exclude-rules:
- text: "The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release"
linters:
- staticcheck
- text: "G115: integer overflow conversion"
linters:
- gosec
linters-settings:
goimports:
local-prefixes: gitlab.com/milkyway-labs/milkyway
dogsled:
max-blank-identifiers: 3
nolintlint:
allow-unused: false
require-explanation: false
require-specific: false