From 03db0353796cfdd37bd3d4bc0be789d9af7d4f87 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Tue, 11 Jun 2024 09:23:04 -0400 Subject: [PATCH] Correct Go install --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f99ecce..660c13d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,6 @@ Whitespace is a linter that checks for unnecessary newlines at the start and end ## Installation guide -To install as a standalone linter, run `go install github.com/ultraware/whitespace`. +To install as a standalone linter, run `go install github.com/ultraware/whitespace/cmd/whitespace@latest`. Whitespace is also included in [golangci-lint](https://github.com/golangci/golangci-lint/). Install it and enable whitespace.