ci: enhanced linting #281
Annotations
10 errors
lint:
main_test.go#L34
don't use `init` function (gochecknoinits)
|
lint:
main_test.go#L39
Comment should end in a period (godot)
|
lint:
main_test.go#L64
Comment should end in a period (godot)
|
lint:
main_test.go#L241
Comment should end in a period (godot)
|
lint:
main_test.go#L32
var-declaration: should omit type time.Duration from declaration of var testConnectionTimeout; it will be inferred from the right-hand side (revive)
|
lint:
main.go#L251
calculated cyclomatic complexity for function prune is 24, max is 15 (cyclop)
|
lint:
main.go#L73
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
main.go#L82
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
main.go#L91
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
main.go#L36
port is a global variable (gochecknoglobals)
|