Skip to content

Commit

Permalink
add section to run lints (#1480)
Browse files Browse the repository at this point in the history
* add section to run lints

* Update DEVELOPMENT.md
  • Loading branch information
tejal29 authored Nov 4, 2020
1 parent 49e7d8a commit bd5a08b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ make test

_These tests will not run correctly unless you have [checked out your fork into your `$GOPATH`](#checkout-your-fork)._

### Lint Checks

The helper script to install and run lint is placed here at the root of project.

```shell
./hack/linter.sh
```

To fix any `gofmt` issues, you can simply run `gofmt` with `-w` flag like this

```shell
find . -name "*.go" | grep -v vendor/ | xargs gofmt -l -s -w
```

### Integration tests

Currently the integration tests that live in [`integration`](./integration) can be run against your own gcloud space or a local registry.
Expand Down

0 comments on commit bd5a08b

Please sign in to comment.