forked from louketo/louketo-proxy
-
Notifications
You must be signed in to change notification settings - Fork 42
/
.golangci.yml
53 lines (52 loc) · 839 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
52
53
linters-settings:
govet:
check-shadowing: true
revive:
min-confidence: 0
gocyclo:
min-complexity: 64
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2
# TODO: Revisit after the refactor
funlen:
lines: 220
statements: 120
linters:
enable-all: true
disable:
- thelper
- ireturn
- maintidx
- wrapcheck
- gosec
- gocritic
- errorlint
- gci
- gofumpt
- nlreturn
- noctx
- paralleltest
- exhaustive
- exhaustivestruct
- exhaustruct
- tagliatelle
- maligned
- unparam
- lll
- gochecknoinits
- gochecknoglobals
- dupl
- wsl
- godox
- gomnd
# TODO: Revisit after the refactor
- gocognit
- testpackage
- goerr113
- godot
- nestif