Skip to content

Add linting of the Go/Java/Javascript code #262

Description

@davidkel

We should add this ability to help contributors/maintainers to delivery quality code. Some thoughts on this feature

  1. It needs to be added to the build to verify PRs
  2. 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
  3. we should match the linter rules used in caliper for node and so use the same lint engine
  4. 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
  5. for java we could use checkstyle

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions