-
Notifications
You must be signed in to change notification settings - Fork 1
/
.golangci.yml
47 lines (44 loc) · 930 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
run:
timeout: 1m
linters:
enable:
- misspell
- gofumpt
- gci
- importas
- unparam
- gosec
- unused
- intrange
- contextcheck
issues:
exclude-dirs:
- hack
- proto
exclude-rules:
- path: _test\.go
linters:
- errcheck
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/artefactual-labs/ccp)
custom-order: true
gofumpt:
extra-rules: true
gosec:
exclude-generated: false
severity: low
confidence: low
excludes:
- G601 # does not apply to go1.22+
importas:
no-unaliased: true
no-extra-aliases: false
alias:
- pkg: github.com/artefactual-labs/ccp/internal/api/gen/archivematica/ccp/admin/v1beta1
alias: adminv1
- pkg: github.com/artefactual-labs/ccp/internal/api/gen/archivematica/ccp/admin/v1beta1/adminv1beta1connect
alias: adminv1connect