refactor(userconfig): new generator for SDKv2 #3419
lint.yml
on: pull_request
commitlint
15s
semgrep
17s
make_lint
2m 49s
check_docs_were_generated
1m 6s
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)
|