Skip to content

refactor(userconfig): new generator for SDKv2 #3419

refactor(userconfig): new generator for SDKv2

refactor(userconfig): new generator for SDKv2 #3419

Triggered via pull request November 2, 2023 09:01
Status Failure
Total duration 3m 1s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
make_lint: ucgenerator/main.go#L255
append to slice `args` with non-zero initialized length (makezero)
make_lint: internal/schemautil/converters.go#L333
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
make_lint: ucgenerator/models.go#L163
func `(*object).isComputed` is unused (unused)
make_lint: internal/schemautil/mutations.go#L118
func `stringSuffixForIPFilters` is unused (unused)
make_lint: internal/schemautil/mutations.go#L131
func `stringSuffixForNamespaces` is unused (unused)
make_lint: internal/schemautil/schemautil.go#L17
var `errInvalidStateType` is unused (unused)
make_lint: internal/schemautil/schemautil.go#L322
func `unmarshalUserConfig` is unused (unused)
make_lint: internal/schemautil/converters.go#L157
S1009: should omit nil check; len() for map[string]any is defined as zero (gosimple)
make_lint: internal/schemautil/converters.go#L353
S1023: redundant `return` statement (gosimple)
make_lint: internal/schemautil/converters.go#L399
ST1003: func toJson should be toJSON (stylecheck)