-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
45 lines (43 loc) · 781 Bytes
/
Copy path.golangci.yaml
File metadata and controls
45 lines (43 loc) · 781 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
linters:
enable-all: true
disable:
- copyloopvar
- depguard
- err113
- execinquery
- exhaustruct
- funlen
- gochecknoglobals
- gochecknoinits
- godox
- gofumpt
- gomnd
- inamedparam
- intrange
- ireturn
- lll
- maintidx
- mnd
- nestif
- nilnil
- nlreturn
- paralleltest
- revive
- tagalign
- testpackage
- tparallel
- varnamelen
- wrapcheck
- wsl
linters-settings:
gosec:
excludes:
# 0644 permissions on created files seem reasonable for this use-case
- G306
govet:
enable-all: true
disable:
# fixing this is low-priority for this library
- fieldalignment
# we test invalid struct tags intentionally
- structtag