Skip to content

Commit

Permalink
golang_osd_cluster_operator README: golangci-lint
Browse files Browse the repository at this point in the history
Update the README for the openshift/golang_osd_cluster_operator
convention to stop talking about golint.sh and start talking about
golangci-lint. This was missed in 2c63aeb (PR openshift#3).
  • Loading branch information
2uasimojo committed Sep 2, 2020
1 parent f630ef8 commit 587d61d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions boilerplate/openshift/golang_osd_cluster_operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ run code coverage analysis per [this SOP](https://github.com/openshift/ops-sop/b
this is copied into the repository root, because that's
[where codecov.io expects it](https://docs.codecov.io/docs/codecov-yaml#can-i-name-the-file-codecovyml).

## Linting with `gofmt`
## Linting and other static analysis with `golangci-lint`

A `golint.sh`, referenced by the `gocheck` `make` target, to use `gofmt`
with the configuration found here (currently the default).
- A `gocheck` `make` target, which
- ensures the proper version of `golangci-lint` is installed, and
- runs it against
- a `golangci.yml` config.

## More coming soon

0 comments on commit 587d61d

Please sign in to comment.