feat: add --custom-resources flag to validator rules check as an alternate to -f #218
58.76% of diff hit (target 53.33%)
View this Pull Request on Codecov
58.76% of diff hit (target 53.33%)
Annotations
Check warning on line 209 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L209
Added line #L209 was not covered by tests
Check warning on line 214 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L213-L214
Added lines #L213 - L214 were not covered by tests
Check warning on line 293 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L293
Added line #L293 was not covered by tests
Check warning on line 298 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L298
Added line #L298 was not covered by tests
Check warning on line 302 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L302
Added line #L302 was not covered by tests
Check warning on line 307 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L307
Added line #L307 was not covered by tests
Check warning on line 314 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L314
Added line #L314 was not covered by tests
Check warning on line 327 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L327
Added line #L327 was not covered by tests
Check warning on line 334 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L334
Added line #L334 was not covered by tests
Check warning on line 339 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L339
Added line #L339 was not covered by tests
Check warning on line 355 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L355
Added line #L355 was not covered by tests
Check warning on line 365 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L360-L365
Added lines #L360 - L365 were not covered by tests
Check warning on line 371 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L370-L371
Added lines #L370 - L371 were not covered by tests
Check warning on line 380 in pkg/cmd/validator/validator.go
codecov / codecov/patch
pkg/cmd/validator/validator.go#L380
Added line #L380 was not covered by tests
Check warning on line 14 in pkg/utils/file/file.go
codecov / codecov/patch
pkg/utils/file/file.go#L14
Added line #L14 was not covered by tests
Check warning on line 24 in pkg/utils/file/file.go
codecov / codecov/patch
pkg/utils/file/file.go#L24
Added line #L24 was not covered by tests
Check warning on line 66 in tests/integration/_validator/testcases/test_validator.go
codecov / codecov/patch
tests/integration/_validator/testcases/test_validator.go#L66
Added line #L66 was not covered by tests