nunnatsa / ginkgolinter

golang linter for ginkgo and gomega
MIT License
24 stars 6 forks source link

[BUG] Optimize `focus-container` validation to opt-in #100

Closed EdDev closed 12 months ago

EdDev commented 12 months ago

Describe the bug Currently, the new focus-container rule is by default included and requires an opt-out to be suppressed.

This has the potential of breaking some projects workflow, where the commonly used target is including the linter together with other actions (e.g. build, unit tests).

An example of such a workflow can be seen in the kubevirt project [1].

[1] https://github.com/kubevirt/kubevirt/pull/10136

Expected behavior Do not enforce this focus-container rule by default, allow the users to opt-in for it.