Linter configuration fixes and linting issues fixes.

Fixes #17.
This commit is contained in:
2020-02-29 22:41:06 +05:00
parent 11897d0e1a
commit 47672c586d
6 changed files with 17 additions and 9 deletions

View File

@@ -10,9 +10,12 @@ linters:
- gocritic
# Complains about main() lengths, which isn't an issue.
- funlen
# Magic numbers everywhere and we can't get rid of them.
- gomnd
linters-settings:
lll:
line-length: 420
gocognit:
min-complexity: 50
gocyclo:
min-complexity: 40