Comments (5)
I think kind/cleanup is OK. 🥇
If the motivation came from the bump #3846
see that the fixes applied are accurate.
- We should not use
.
to import but we have one exception then in this case we need configure to ignore - When args are not used we should use
_
That are the only checks that the whole code and samples fails after the update and seems that is more related those files are been ignored before in the lint instead of changes in the lint persei.
I think that the only thing that we could do is to check if we can ignore the specific scenario
// nolint:revive
. "github.com/onsi/ginkgo/v2"
// nolint:revive
. "github.com/onsi/gomega"
Via config like
[rule.dot-imports]
arguments = [{ allowedPackages = ["github.com/onsi/ginkgo/v2","github.com/onsi/gomega"] }]
As you suggested. But the checks shows fine.
Wdyt? Also, I agree with you. If the goal here is to do this change only I think it is a good-first-issue
(adding the label :-) )
from kubebuilder.
@camilamacedo86 I'm not sure how to tag, this seems not suitable to be kind/feature
. And we may consider it as good-first-issue
:)
from kubebuilder.
Hey @camilamacedo86 and @Kavinjsir, I'm interested. Could you please guide me on this issue?
Thank you!
from kubebuilder.
/assign
from kubebuilder.
@camilamacedo86 Sounds good to me!
- We should not use . to import but we have one exception then in this case we need configure to ignore
To stay align with your concern, we may add comment like:
[rule.dot-imports]
# dot import should be ONLY allowed for ginkgo testing packages
arguments = [{ allowedPackages = ["github.com/onsi/ginkgo/v2","github.com/onsi/gomega"] }]
from kubebuilder.
Related Issues (20)
- Title: Storage Error and Duplicate Reconciliation Leading to Resource Synchronization Issue HOT 1
- Error to scaffold conversion webhooks HOT 4
- ERROR: Invalid or corrupt Go version HOT 1
- cannot be handled as a CronJob unknown field HOT 2
- docs/scaffold: reconciler client and its methods should be private HOT 3
- Support +enum tags in k8s APIs HOT 4
- [META - Phases]: Discontinue Kube RBAC Proxy in Default Kubebuilder Scaffolding HOT 4
- Add in the docs a link for the controller-runtime FAQ
- Implement e2e controller tests for the multi-version sample used in the docs HOT 1
- Use Upgrade Assistance to re-generate samples docs HOT 1
- Update the Multi-Version tutorial programatically when we run `make generate` HOT 4
- kubebuilder make install fails [again]: metadata.annotations: Too long HOT 1
- OpenAPI Schema Validation Errors for imagePullSecrets and hostAliases for CronjobTutorial sample with controller-runtime v0.18.3 and Kubernetes 1.30 HOT 3
- pull controller image failed HOT 2
- DNS Entry for book-v3 - We need figure out how to create it to publish the legacy docs HOT 1
- kustomize: strategicMergePatch clobbers patched arrays HOT 1
- GitHub page link update HOT 3
- RFE: Replace ServiceMonitor for PodMonitor HOT 2
- book.kubebuilder.io no longer reachable / dns record issing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubebuilder.