From 7c15727e1bca21a90602ce5c72585de7945bc885 Mon Sep 17 00:00:00 2001 From: Simon Sawert Date: Thu, 8 Feb 2024 21:28:17 +0100 Subject: [PATCH] Update README (#145) --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3534b70..0bcf01d 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,19 @@ make something configurable! ## Installation ```sh -go install github.com/bombsimon/wsl/v4/cmd...@master +# Latest release +go install github.com/bombsimon/wsl/v4/cmd/wsl + +# Main branch +go install github.com/bombsimon/wsl/v4/cmd/wsl@master ``` ## Usage > **Note**: This linter provides a fixer that can fix most issues with the -`--fix` flag. However, currently `golangci-lint` [does not support suggested -fixes](https://github.com/golangci/golangci-lint/issues/1779) so the `--fix` -flag in `golangci-lint` will **not** work. +> `--fix` flag. However, currently `golangci-lint` [does not support suggested +> fixes](https://github.com/golangci/golangci-lint/issues/1779) so the `--fix` +> flag in `golangci-lint` will **not** work. `wsl` uses the [analysis](https://pkg.go.dev/golang.org/x/tools/go/analysis) package meaning it will operate on package level with the default analysis flags