-
Notifications
You must be signed in to change notification settings - Fork 349
Run golangci-lint as part of pull request workflow #604
Comments
I've not used codeclimate before, but it seems like it suggests sensible improvements. I'd be intrigued to see what happens if you put up something that is considered bad form, will it comment on the PR? I noticed it has also scanned master for issues, is there a way to mark those as false positives? Eg I noticed one is the config validation having too many returns, that would probably be an exception right? |
Hi @JoelSpeed, yes it will add comments on the PR, but probably we might need to customize to our own needs to prevent false positives and some annoyance. You can have an idea of looking at these links: Unfortunately, GolangCI will no longer available and these are the only alternatives I can think at the moment:
If you have any other ideas, please do not hesitate to comment here. |
Btw I'm removing it from milestone 1.0.0, so we don't need to rush on the decision about this. |
@JoelSpeed updated the description and the content too. I believe this alternative makes more sense and it is something which we are already familiar. |
- Merge build and linter jobs in a single file - Runs tests for go 1.13 and 1.14 - Introduces code coverage with coveralls - Fixes some issues reported by golangci-lint and relax/disable some rules until the codebase is refactored Resolves louketo#604
- Merge build and linter jobs in a single file - Runs tests for go 1.13 and 1.14 - Introduces code coverage with coveralls - Fixes some issues reported by golangci-lint and relax/disable some rules until the codebase is refactored Resolves louketo#604
- Merge build and linter jobs in a single file - Runs tests for go 1.13 and 1.14 - Introduces code coverage with coveralls - Fixes some issues reported by golangci-lint and relax/disable some rules until the codebase is refactored Resolves louketo#604
- Merge build and linter jobs in a single file - Runs tests for go 1.13 and 1.14 - Introduces code coverage with coveralls - Fixes some issues reported by golangci-lint and relax/disable some rules until the codebase is refactored Resolves #604
What
Unfortunately GolangCI is closing and we need to migrate to another alternative. So we can have a sanity check for upcoming pull requests.
How
Additional information
The text was updated successfully, but these errors were encountered: