Stanislav N. aka pztrn
7fa3553da6
All checks were successful
continuous-integration/drone/push Build is passing
38 lines
866 B
YAML
38 lines
866 B
YAML
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. They're everywhere. Do not warn us about them.
|
|
- gomnd
|
|
# Well, this linter is whining about some shit.
|
|
- testpackage
|
|
# Crashes a lot.
|
|
- gci
|
|
# Deprecated.
|
|
- exhaustivestruct
|
|
linters-settings:
|
|
lll:
|
|
line-length: 128
|
|
gocyclo:
|
|
min-complexity: 40
|
|
cyclop:
|
|
max-complexity: 20
|
|
|
|
issues:
|
|
exclude-rules:
|
|
# There will be some ToDos.
|
|
- linters:
|
|
- godox
|
|
text: "TODO"
|
|
- linters:
|
|
- gosec
|
|
text: "G101"
|