forked from buildpacks/imgutil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
golangci.yaml
45 lines (42 loc) · 822 Bytes
/
golangci.yaml
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
run:
timeout: 6m
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- exportloopref
- gocritic
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace
linters-settings:
goimports:
local-prefixes: github.com/buildpacks/imgutil
govet:
enable:
- fieldalignment
issues:
exclude-rules:
- linters:
- staticcheck
text: "SA1019: tarball.LayerFromReader is deprecated"
- linters:
# Ignore this minor optimization.
# See https://github.com/golang/go/issues/44877#issuecomment-794565908
- govet
text: "pointer bytes could be"