Commit b5eb69a
committed
🌱 (chore): enable ginkgolinter forbid-focus-container
🌱 enable ginkgolinter forbid-focus-container
This PR adds the following configuration to `.golangci.yml`:
```yaml
linters-settings:
ginkgolinter:
forbid-focus-container: true
```
Enabling forbid-focus-container protects the code in the repository
against accident commiting of debug code. A contributeor may use
ginkgo's focus container (e.g. `FIt`, `FContext` etc. or by adding the
`Focus` decorator), in order to locally debug a specific test. Merging a
ginkgo's focus container will prevent running of all the other tests in
CI.
Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>1 parent 4fe3c28 commit b5eb69a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments