CONTRIBUTING: Update documentation for linting on Travis (#8933)

This commit is contained in:
Wilken Rivera 2020-03-23 05:46:03 -04:00 committed by GitHub
parent 3a9d356c9d
commit daffd9c318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ Run golangci-lint on a single pkg or directory; PKG_NAME expands to /builder/ama
make lint PKG_NAME=builder/amazon make lint PKG_NAME=builder/amazon
``` ```
Note: linting on Travis uses the `--new-from-rev=origin/master` flag to only lint new files added within a branch or pull-request. To run this check locally you can use the `ci-lint` make target. See [golangci-lint in CI](https://github.com/golangci/golangci-lint#faq) for more information. Note: linting on Travis uses the `--new-from-rev` flag to only lint new files added within a branch or pull-request. To run this check locally you can use the `ci-lint` make target. See [golangci-lint in CI](https://github.com/golangci/golangci-lint#faq) for more information.
``` ```
make ci-lint make ci-lint