Add linting of the Go/Java/Javascript code
davidkel opened this issue · 0 comments
davidkel commented
We should add this ability to help contributors/maintainers to delivery quality code. Some thoughts on this feature
- It needs to be added to the build to verify PRs
- It should use node to run the linters as node is a pre-requisite for caliper so would be installed. Reason for this is that node is platform agnostic so is useable in native Windows
- we should match the linter rules used in caliper for node and so use the same lint engine
- I don't think we need to run gofmt as all good go ides will do this for you. There is a go linter
golangci-lint
we can use - for java we could use
checkstyle