Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stylecheck linter to golangci-lint CI run
This change adds the stylecheck linter to our golangci-lint ci run. This catches a few nice things like double imports, checking if errors end with punctuation/aren't capitalized. It also by default checks if common initialisms (CPU, ID, HTTP, TLS) are in all caps, but this sets off a metric ton of errors because of the amount of generated schema files we have. We could exclude these directories from being linted altogether, but would like to hear what others think. I don't see a way to exclude directories for only certain checks (so if someone knows a way please do tell) Signed-off-by: Daniel Canter <[email protected]>
- Loading branch information