forked from buildpacks/imgutil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgolangci.yaml
More file actions
41 lines (38 loc) · 754 Bytes
/
golangci.yaml
File metadata and controls
41 lines (38 loc) · 754 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
run:
timeout: 6m
linters:
disable-all: true
enable:
- bodyclose
- dogsled
- gocritic
- goimports
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
- 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"