You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating APIs and webhooks, some parts of the generated files fail stricter linter checks.
Since we use a stricter golangci configuration, I'd like to propose minor corrections on the templates.
This could result in a stricter golangci configuration generated by kubebuilder in the future.
Reproducing this issue
Use a linter on generated code with additional linters enabled (like godot, gofumpt, nlreturn)
KubeBuilder (CLI) Version
4.2.0
PROJECT version
3
Plugin versions
No response
Other versions
No response
Extra Labels
No response
The text was updated successfully, but these errors were encountered:
What broke? What's expected?
When creating APIs and webhooks, some parts of the generated files fail stricter linter checks.
Since we use a stricter golangci configuration, I'd like to propose minor corrections on the templates.
This could result in a stricter golangci configuration generated by kubebuilder in the future.
Reproducing this issue
Use a linter on generated code with additional linters enabled (like
godot
,gofumpt
,nlreturn
)KubeBuilder (CLI) Version
4.2.0
PROJECT version
3
Plugin versions
No response
Other versions
No response
Extra Labels
No response
The text was updated successfully, but these errors were encountered: