-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.golangci.yml
More file actions
43 lines (43 loc) · 817 Bytes
/
.golangci.yml
File metadata and controls
43 lines (43 loc) · 817 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
linters:
enable-all: true
disable:
- depguard
- dupword
- exhaustruct
- exhaustivestruct
- funlen
- gci
- gochecknoglobals
- gochecknoinits
- gomnd
- gosec
- ireturn
- maligned
- mnd
- nestif # remove
- nlreturn
- nonamedreturns # fix maybe?
- paralleltest
- scopelint
- testpackage # TODO: remove this
- varnamelen
- wrapcheck
- wsl
- varcheck
- deadcode
- nosnakecase
- golint
- structcheck
- ifshort
- interfacer
- rowserrcheck
- sqlclosecheck
- wastedassign
linters-settings:
godox:
keywords:
- NOTE
- OPTIMIZE # marks code that should be optimized before merging
- HACK # marks hack-around that should be removed before merging
lll:
line-length: 130