Skip to content

ci: enhanced linting #281

ci: enhanced linting

ci: enhanced linting #281

Triggered via pull request September 7, 2024 09:26
Status Failure
Total duration 41s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)