-
Notifications
You must be signed in to change notification settings - Fork 3
/
.golangci.yml
51 lines (48 loc) · 968 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
48
49
50
51
run:
deadline: 60s
linters:
enable:
- misspell
- gofumpt
- importas
- gci
- unparam
- gosec
- tparallel
- contextcheck
- intrange
issues:
exclude-dirs:
- dashboard
- hack
- internal/storage/persistence/ent/schema
exclude-rules:
- path: _test\.go
linters:
- errcheck
linters-settings:
gci:
no-inline-comments: true
no-prefix-comments: false
sections:
- standard
- default
- prefix(github.com/artefactual-sdps/enduro)
section-separators:
- newLine
gofumpt:
extra-rules: true
importas:
no-unaliased: true
no-extra-aliases: false
alias:
- pkg: go.temporal.io/sdk/contrib/(\w+)
alias: temporalsdk_contrib_$1
- pkg: go.temporal.io/sdk/(\w+)
alias: temporalsdk_$1
- pkg: go.temporal.io/api/(\w+)
alias: temporalapi_$1
gosec:
exclude-generated: false
severity: low
confidence: low