-
Notifications
You must be signed in to change notification settings - Fork 110
/
.golangci.yaml
69 lines (67 loc) · 1.13 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
linters-settings:
gocyclo:
min-complexity: 25
govet:
check-shadowing: false
misspell:
locale: "US"
linters:
enable-all: true
disable:
- interfacer
- nosnakecase
- tparallel
- nonamedreturns
- exhaustruct
- stylecheck
- gosec
- dupl
- maligned
- depguard
- lll
- prealloc
- scopelint
- gocritic
- gochecknoinits
- gochecknoglobals
- godox
- funlen
- wsl
- whitespace
- gocognit
- testpackage
- goerr113
- gomnd
- gofumpt
- exhaustive
- goconst
- golint
- godot
- forbidigo
- nlreturn
- ireturn
- paralleltest
- varnamelen
- wrapcheck
- ifshort
- gci
- exhaustivestruct
- cyclop
- errorlint
- revive
- errname
- forcetypeassert
- tagliatelle
- nilnil
- mnd
issues:
exclude-rules:
# The existing ETSI lints have some gnarly logic that needs
# simplification/cleanup. For now we skip some linters for this dir.
- path: lints/etsi/
linters:
- nestif
- gosimple
- path: util/qc_stmt.go
linters:
- nestif