mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-14 18:33:09 -06:00
Add golangcli-lint config file
This commit is contained in:
parent
78440083df
commit
9e9a337c68
21
.golangci.yaml
Normal file
21
.golangci.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
linters-settings:
|
||||||
|
govet:
|
||||||
|
check-shadowing: true
|
||||||
|
golint:
|
||||||
|
min-confidence: 0
|
||||||
|
gocyclo:
|
||||||
|
min-complexity: 12
|
||||||
|
dupl:
|
||||||
|
threshold: 100
|
||||||
|
goconst:
|
||||||
|
min-len: 2
|
||||||
|
min-occurrences: 3
|
||||||
|
|
||||||
|
linters:
|
||||||
|
enable-all: true
|
||||||
|
disable:
|
||||||
|
- maligned
|
||||||
|
- goimports
|
||||||
|
- depguard
|
||||||
|
- dupl
|
||||||
|
- interfacer
|
||||||
Loading…
Reference in a new issue