This repository was archived by the owner on Jan 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.golangci.yml
More file actions
66 lines (62 loc) · 1.36 KB
/
.golangci.yml
File metadata and controls
66 lines (62 loc) · 1.36 KB
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
run:
deadline: 5m
linters:
disable-all: true
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
- dogsled
# - dupl # Disabled because tripping on Read/Write similarities
- durationcheck
- errcheck
- errorlint
- exportloopref
- forbidigo
- goconst
- gocritic
- godot
- godox
- goerr113
- gofmt
- goheader
- goimports
- gomoddirectives
- gomodguard
- goprintffuncname
- gosimple
- govet
- importas
- ineffassign
- lll
- makezero
- misspell
- nilerr
- noctx
- nolintlint
- predeclared
- promlinter
- revive
- staticcheck
# - structcheck # Disabled for lack of generics support
- tagliatelle
- testpackage
- thelper
- tparallel
# - typecheck # Fails with C imports
- unconvert
- unused
- varcheck
# - wastedassign # Disabled for lack of generics support
- whitespace
issues:
exclude-use-default: false # disable filtering of defaults for better zero-issue policy
exclude:
# There is a lot of pointer-mangling happening here, so disable this govet warning
- possible misuse of unsafe.Pointer
max-per-linter: 0 # disable limit; report all issues of a linter
max-same-issues: 0 # disable limit; report all issues of the same issue
linters-settings:
lll:
line-length: 160