2019-10-07 21:51:45 +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
|
2020-04-25 13:47:19 +05:00
|
|
|
# Magic numbers might be everywhere. Disabled for now.
|
|
|
|
- gomnd
|
2019-10-07 21:51:45 +05:00
|
|
|
linters-settings:
|
|
|
|
lll:
|
|
|
|
line-length: 420
|
2021-11-20 23:06:40 +05:00
|
|
|
cyclop:
|
|
|
|
max-complexity: 25
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
# There will be some ToDos.
|
|
|
|
- linters:
|
|
|
|
- godox
|
|
|
|
text: "TODO"
|