Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation for local golangci-lint use. #5900

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ You must install these tools:
generate code and update dependencies. On MacOS the default bash is too old,
you can use [Homebrew](https://brew.sh) to install a later version.

1. (Optional)
[`golangci-lint`](https://golangci-lint.run/usage/install/#local-installation)
is run against every PR. You may want to install and [run this tool
locally](https://golangci-lint.run/usage/quick-start) to iterate quickly on
linter issues.

> **Note** Linter findings are dependent on your installed Go version. Match
the version in [`go.mod`](go.mod) to match the findings in your PR.

### Configure environment

To [build, deploy and run your Tekton Objects with `ko`](#install-pipeline), you'll need to set these environment variables:
Expand Down