diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2020-12-07 13:23:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 11:23:01 +0000 |
commit | 45dec2059383a7f2f90b75f3b327df3b0309f59e (patch) | |
tree | f05c84634c07a24a1a5a86ee9c1175f7cd7b4a6d /docs | |
parent | 8f5393db5f4d615452dcc807ddafd4841d9abd5b (diff) |
Update links to golangci-lint documentation (#1617)
Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CODE_STYLE.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/CODE_STYLE.md b/docs/CODE_STYLE.md index 8f1c1cb5..8096ae27 100644 --- a/docs/CODE_STYLE.md +++ b/docs/CODE_STYLE.md @@ -2,13 +2,13 @@ In addition to standard Go code style (`gofmt`, `goimports`), we use `golangci-lint` to run a number of linters, the exact list can be found under linters in [.golangci.yml](.golangci.yml). -[Installation](https://github.com/golangci/golangci-lint#install) and [Editor -Integration](https://github.com/golangci/golangci-lint#editor-integration) for +[Installation](https://github.com/golangci/golangci-lint#install-golangci-lint) and [Editor +Integration](https://golangci-lint.run/usage/integrations/#editor-integration) for it can be found in the readme of golangci-lint. For rare cases where a linter is giving a spurious warning, it can be disabled for that line or statement using a [comment -directive](https://github.com/golangci/golangci-lint#nolint), e.g. `var +directive](https://golangci-lint.run/usage/false-positives/#nolint), e.g. `var bad_name int //nolint:golint,unused`. This should be used sparingly and only when its clear that the lint warning is spurious. |