Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lint): skips true|false for goconst (opendatahub-io#1110)
As we have labels and annotations with values either `true` or `false` we often compare them in the code. This leads to complains of `goconst` linter about extracting these "magic words" to constants. As this are obvious values to check against there's little benefit of doing so. This change configures `goconst` for golangci-lint runner to skip such cases.
- Loading branch information