forked from pipe-cd/pipecd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
47 lines (45 loc) · 901 Bytes
/
.golangci.yml
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
linters:
disable-all: true
enable:
- prealloc
- ineffassign
- goerr113
- misspell
- errcheck
- gosimple
- staticcheck
- gosec
- gocritic
- unparam
- deadcode
- unconvert
- typecheck
- stylecheck
- exportloopref
fast: false
linters-settings:
goimports:
local-prefixes: github.com/pipe-cd/pipe
run:
timeout: 2m
tests: false
skip-dirs:
- "vendor$"
- "^bazel"
- pkg/app/api/cmd/samplepipedapicli
- pkg/app/api/cmd/samplewebapicli
- pkg/app/api/service/pipedservice/pipedclientfake
issues:
exclude-rules:
- linters:
- gosec
text: "G204: Subprocess launched"
- linters:
- goerr113
text: "err113: do not define dynamic errors"
- linters:
- stylecheck
text: "ST1003: struct field Https"
- linters:
- stylecheck
text: "ST1003: struct field Id"