Skip to content

Commit a6d5fa6

Browse files
ldezbombsimon
andauthored
docs: improve typecheck FAQ (#5821)
Co-authored-by: Simon Sawert <[email protected]>
1 parent 36ddc0e commit a6d5fa6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/docs/welcome/faq.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ it's just a way to identify, parse, and display compiling errors (produced by th
3333

3434
It cannot be disabled because of that.
3535

36-
Of course, this is just as good as the compiler itself and a lot of compilation issues will not properly show where in the code your error lies.
36+
Of course, this is just as good as the compiler itself, and a lot of compilation issues will not properly show where in the code your error lies.
3737

3838
As a consequence, the code to analyze should compile.
3939
It means that if you try to run an analysis on a single file or a group of files or a package or a group of packages,
@@ -45,10 +45,11 @@ If there are `typecheck` errors, golangci-lint will not be able to produce other
4545
How to troubleshoot:
4646

4747
- [ ] Ensure the version of golangci-lint is built with a compatible version of Go.
48-
- [ ] Ensure dependencies are up-to-date with `go mod tidy`.
48+
- [ ] Ensure dependencies are up to date with `go mod tidy`.
4949
- [ ] Ensure building works with `go run ./...`/`go build ./...` - whole package.
5050
- [ ] Ensure you are not running an analysis on code that depends on files/packages outside the scope of the analyzed elements.
5151
- [ ] If using CGO, ensure all require system libraries are installed.
52+
- [ ] If you are using private repositories/dependencies, ensure the [Go proxy](https://go.dev/ref/mod#module-proxy) (`GOPROXY`) and [checksum database](https://go.dev/ref/mod#checksum-database) (`GOSUMDB`) are right and/or your git configuration.
5253

5354
## Why is it not possible to skip/ignore `typecheck` errors?
5455

0 commit comments

Comments
 (0)