added: go linter config and ci workflow #1
Annotations
7 errors and 9 warnings
lint:
pkg/merger/merge.go#L61
Error return value of `mergo.Merge` is not checked (errcheck)
|
lint:
pkg/merger/merge.go#L64
File is not `gofumpt`-ed (gofumpt)
|
lint:
main.go#L16
File is not `gofumpt`-ed (gofumpt)
|
lint:
main.go#L6
File is not `goimports`-ed with -local github.com/aabouzaid/kustomize-plugin-merger (goimports)
|
lint:
pkg/merger/merge.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
|
lint:
pkg/merger/types.go#L5
ST1000: at least one file in a package should have a package comment (stylecheck)
|
lint
issues found
|
lint:
pkg/merger/fn.go#L35
receiver-naming: receiver name mg should be consistent with previous receiver name m for Merger (revive)
|
lint:
pkg/merger/fn.go#L16
exported: exported method Merger.Schema should have comment or be unexported (revive)
|
lint:
pkg/merger/fn.go#L23
exported: exported method Merger.Default should have comment or be unexported (revive)
|
lint:
pkg/merger/fn.go#L40
exported: exported method Merger.Filter should have comment or be unexported (revive)
|
lint:
pkg/merger/fn.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/merger/types.go#L14
exported: exported const ResourceGroup should have comment (or a comment on this block) or be unexported (revive)
|
lint:
pkg/merger/types.go#L19
exported: exported type Merger should have comment or be unexported (revive)
|
lint:
pkg/merger/types.go#L56
exported: exported const Overlay should have comment (or a comment on this block) or be unexported (revive)
|
lint:
main.go#L1
package-comments: should have a package comment (revive)
|