fix: Enable more linters #8
Annotations
11 errors
|
Go linters:
cmd/main.go#L17
package-comments: should have a package comment (revive)
|
Go linters:
cmd/main.go#L55
function-length: maximum number of lines per function exceeded; max 75 but got 101 (revive)
|
Go linters:
internal/controller/common_k8s.go#L17
package-comments: should have a package comment (revive)
|
Go linters:
internal/controller/common_k8s.go#L37
exported: exported const OadpNamespace should have comment (or a comment on this block) or be unexported (revive)
|
Go linters:
internal/controller/common_k8s.go#L40
exported: exported function CreateLabelsForNac should have comment or be unexported (revive)
|
Go linters:
internal/controller/common_k8s.go#L55
exported: exported function CreateAnnotationsForNac should have comment or be unexported (revive)
|
Go linters:
internal/controller/common_k8s.go#L72
cognitive-complexity: function mergeUniqueKeyTOfTMaps has cognitive complexity 14 (> max enabled 7) (revive)
|
Go linters:
internal/controller/common_k8s_test.go#L26
cognitive-complexity: function TestMergeUniqueKeyTOfTMaps has cognitive complexity 8 (> max enabled 7) (revive)
|
Go linters:
internal/controller/common_nab.go#L17
ST1000: at least one file in a package should have a package comment (stylecheck)
|
Go linters:
internal/controller/common_nab.go#L20
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
|
Loading