Fix linter issues #3683
Annotations
10 errors and 1 warning
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L21
cognitive complexity 61 of func `ConstructSpecForClusterScope` is high (> 60) (gocognit)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L12
import 'github.com/asaskevich/govalidator' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L13
import 'github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L14
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L16
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/helper' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L17
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/models/tanzupackageinstall' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/cluster_scope.go#L18
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/resources/common' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/spec.go#L12
import 'github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/spec.go#L14
import 'github.com/vmware/terraform-provider-tanzu-mission-control/internal/helper' is not allowed from list 'Main' (depguard)
|
Run Linters:
internal/resources/tanzupackageinstall/spec/spec_flatten_test.go#L11
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading