forked from kyma-incubator/reconciler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
34 lines (34 loc) · 857 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
run:
modules-download-mode: readonly
skip-dirs-use-default: true
skip-files:
- "mock.go|_test.go|fake_client.go"
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
- revive
- gofmt
- misspell
- gochecknoinits
- unparam
- exportloopref
- gosec
issues:
exclude:
# Check this issue for more info: https://github.com/kyoh86/scopelint/issues/4
- Using the variable on range scope `tc` in function literal
#TODO also needs a changed .golanci.yml as unused warning was skipped for this test
exclude-rules:
- path: 'mothership_integration_test.go'
linters:
- unused
- text: "G404:" # Ignore weak random number generator lint. We do not need strong randomness here.
linters:
- gosec