-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.golangci.yml
More file actions
44 lines (43 loc) · 697 Bytes
/
.golangci.yml
File metadata and controls
44 lines (43 loc) · 697 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
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- asciicheck
- bodyclose
- dogsled
- exhaustive
- copyloopvar
- gocognit
- goconst
- gofmt
- goheader
- goimports
- gosec
- misspell
- nakedret
- nestif
- noctx
- rowserrcheck
- sqlclosecheck
- unconvert
- unparam
- whitespace
issues:
exclude:
- "composite literal uses unkeyed fields"
exclude-rules:
- path: _test\.go
linters:
- gosec
- noctx
- unparam
- bodyclose
- path: fixtures.go
linters:
- gosec