From 764b1512d045baa4f92b63f2ede4741040edb79f Mon Sep 17 00:00:00 2001 From: Heartless Clown <97714114+heartless-clown@users.noreply.github.com> Date: Sun, 12 Jun 2022 22:37:30 +0300 Subject: [PATCH] doc: improved staticcheck README --- staticcheck/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staticcheck/README.md b/staticcheck/README.md index 63ee4b2..e066bc8 100644 --- a/staticcheck/README.md +++ b/staticcheck/README.md @@ -17,7 +17,7 @@ load("@com_github_sluongng_nogo_analyzer//staticcheck:deps.bzl", "staticcheck_de staticcheck_deps() ``` -`gazelle_dependencies()` may contains an outdated version of `staticcheck` so you should load `staticcheck_deps()` before `gazelle_dependencies()` in WORKSPACE to ensure that the supported version is in used. +**NOTE**: Make sure you load `staticcheck_deps()` before `gazelle_dependencies()`, as well as any other rules that use `go_repository`, because this can lead to dependency conflicts. Note that loading `staticcheck_deps()` is completely optional, advanced users may want to manage their own staticcheck dependencies separately in their WORKSPACE file.