@sdboyer and I concluded that the check is too restrictive and does not add value, given that the Go compiler itself is enough to spot when the the CUE field name generates a Go type shadowing the package name.
Besides, both the generated types naming rule may change in the future.
Reverts this commit https://github.com/grafana/kindsys/commit/0aae3542d617e809e3313ec01cd63945be361fbb
@sdboyer and I concluded that the check is too restrictive and does not add value, given that the Go compiler itself is enough to spot when the the CUE field name generates a Go type shadowing the package name. Besides, both the generated types naming rule may change in the future.