2019-12-15 22:17:01 +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
|
|
|
|
# This linter goes crazy for nothing (almost).
|
|
|
|
- funlen
|
2022-06-29 13:16:43 +05:00
|
|
|
# Deprecated things.
|
|
|
|
- exhaustivestruct
|
2019-12-15 22:17:01 +05:00
|
|
|
linters-settings:
|
|
|
|
lll:
|
|
|
|
line-length: 128
|
2021-11-21 16:16:10 +05:00
|
|
|
cyclop:
|
|
|
|
max-complexity: 40
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
# There will be some ToDos.
|
|
|
|
- linters:
|
|
|
|
- godox
|
|
|
|
text: "TODO"
|