Linting, CI, some small logic fixes.
This commit is contained in:
20
.golangci.yml
Normal file
20
.golangci.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
run:
|
||||
deadline: 5m
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- dupl
|
||||
- gochecknoglobals
|
||||
- exhaustive
|
||||
- testpackage
|
||||
linters-settings:
|
||||
lll:
|
||||
line-length: 120
|
||||
gocyclo:
|
||||
min-complexity: 80
|
||||
gocognit:
|
||||
min-complexity: 100
|
||||
funlen:
|
||||
lines: 200
|
||||
statements: 100
|
||||
|
||||
Reference in New Issue
Block a user