2020-11-29 03:22:39 +05:00
|
|
|
run:
|
|
|
|
deadline: 5m
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
# Because globals might exist, but according to our codestyle they
|
|
|
|
# should be lowercased and considered as unexported.
|
|
|
|
- gochecknoglobals
|
|
|
|
# While it might be useful it'll create more problems that will solve.
|
|
|
|
- gocritic
|
|
|
|
# Complains about main() lengths, which isn't an issue.
|
|
|
|
- funlen
|
|
|
|
# Magic numbers might be everywhere. Disabled for now.
|
|
|
|
- gomnd
|
|
|
|
# ToDos everywhere
|
|
|
|
- godox
|
|
|
|
# Why? WHY? WHY _test???
|
|
|
|
- testpackage
|
|
|
|
linters-settings:
|
|
|
|
lll:
|
|
|
|
line-length: 120
|
|
|
|
gocyclo:
|
|
|
|
min-complexity: 40
|
2020-11-29 05:44:21 +05:00
|
|
|
gocognit:
|
|
|
|
min-complexity: 40
|