forked from TBD54566975/ssi-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
47 lines (43 loc) · 852 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
46
# See https://golangci-lint.run/usage/configuration/ for reference.
run:
concurrency: 16
skip-dirs:
- bin
output:
sort-results: true
linters:
disable-all: true
enable:
- asasalint
- durationcheck
- errcheck
- errorlint
- gocritic
- goimports
- gosec
- govet
- ineffassign
- makezero
- prealloc
- revive
- staticcheck
- tenv
- tparallel
- typecheck
- unparam
- unused
- usestdlibvars
# TODO(andres): consider fixing and enabling the following.
# - nilerr
# - whitespace
# - nilnil
# - wrapcheck
# - goconst
# - dupl
# - tagliatelle
linters-settings:
gosec:
config:
G101:
# We intentionally remove the 'cred' regex, to avoid false positives
pattern: "(/i)passwd|pass|password|pwd|secret|token|pw|apiKey|bearer"