armada
armada copied to clipboard
Propose a set of linters for Armada
Is this related https://github.com/G-Research/armada/issues/659?
My recomendation for running lint pass would be to use golangci-lint -
My recomendation would be to use the following linters in Armada:
- gofumpt - linter on common Golang coding conventions
- lll - linter for long lines
- go-critic - static code analysis for bugs
- staticcheck - amazing static code analysis, code simplification, bugs
Here is a nice post on amazing Golang linters - https://github.com/golangci/awesome-go-linters
This one is interesting: https://github.com/lafolle/flen
https://github.com/G-Research/armada/pull/1362
We can close as this is complete. This is a WIP as we have a lot of failures if we include linters.