metricator/.golangci.yml

29 lines
535 B
YAML
Raw Normal View History

run:
deadline: 5m
linters:
enable-all: true
disable:
# While it might be useful it'll create more problems that will solve.
- gocritic
# Magic numbers might be everywhere. Disabled for now.
- gomnd
# Why? WHY? WHY _test???
- testpackage
linters-settings:
lll:
line-length: 120
gocyclo:
min-complexity: 40
gocognit:
min-complexity: 40
2020-12-24 13:48:00 +05:00
funlen:
lines: 200
2020-12-24 23:33:24 +05:00
statements: 100
2020-12-24 13:48:00 +05:00
issues:
exclude-rules:
# There will be some ToDos.
- linters:
- godox
text: "TODO"