CICD: Add golangci-lint-action to PR pipeline #1
Annotations
10 errors
|
golangci-lint:
pkg/diff2/analyze_test.go#L757
QF1001: could apply De Morgan's law (staticcheck)
|
|
golangci-lint:
commands/ppreviewPush.go#L914
QF1008: could remove embedded field "ProviderBase" from selector (staticcheck)
|
|
golangci-lint:
commands/ppreviewPush.go#L912
QF1008: could remove embedded field "ProviderBase" from selector (staticcheck)
|
|
golangci-lint:
commands/ppreviewPush.go#L911
QF1008: could remove embedded field "ProviderBase" from selector (staticcheck)
|
|
golangci-lint:
build/generate/featureMatrix.go#L60
ST1023: should omit type string from declaration; it will be inferred from the right-hand side (staticcheck)
|
|
golangci-lint:
build/generate/featureMatrix.go#L24
QF1004: could use strings.ReplaceAll instead (staticcheck)
|
|
golangci-lint:
providers/autodns/autoDnsProvider.go#L59
function new has same name as predeclared identifier (predeclared)
|
|
golangci-lint:
pkg/dnstree/dnstree.go#L66
Comment should end in a period (godot)
|
|
golangci-lint:
pkg/dnstree/dnstree.go#L41
Comment should end in a period (godot)
|
|
golangci-lint:
pkg/credsfile/providerConfig.go#L22
Comment should end in a period (godot)
|