Open rh-hemartin opened 4 weeks ago
I think everything here makes sense. On top of this I think we should enable gofmt
in golangci-lint (we already run it against PRs). This will enforce the golang style rules on all *.go
files (not just hard tabs instead of spaces). https://golangci-lint.run/usage/configuration/
also for helm, the best practice for indenting is 2 spaces (no tabs)
We found ourselves with mix and match indentation due to different IDEs getting different clues for indenting files. An .editorconfig file should reduce the number of problems we have with different indentation practices. Stuff to include in the editorconfig: