forked from backube/volsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
46 lines (45 loc) · 799 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
---
# https://golangci-lint.run/usage/configuration/#config-file
run:
timeout: 30m
# skip-files:
output:
sort-results: true
linters:
disable-all: true
enable:
- asciicheck
- bidichk
- contextcheck
- dupl
- errcheck
- errorlint
- errname
- exhaustive
- exportloopref
- forcetypeassert
- funlen
- goconst
- gocyclo
- goimports # Supersedes gofmt
- gosec
- gosimple
- govet
- ineffassign
- lll
- makezero
- misspell
- nakedret
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- whitespace
issues:
exclude-rules:
- linters:
- revive
source: ". \"github.com/onsi/(ginkgo/v2|gomega)\""
text: "dot-imports: should not use dot imports"