We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
go mod init
1 parent 4bc68c0 commit bafefe4Copy full SHA for bafefe4
docs/src/docs/usage/faq.mdx
@@ -40,3 +40,9 @@ Long answer:
40
41
Because the first run caches type information. All subsequent runs will be fast.
42
Usually this options is used during development on local machine and compilation was already performed.
43
+
44
+## How does `golangci-lint` find go source files?
45
46
+`golangci-lint` uses go modules to find golang files. If your project is a go module, it should *just work*.
47
48
+If your project is not a go module, you can still use `golangci-lint` for your project. You can do this by setting the environment variable `GO111MODULE=off` when you run `golangci-lint`. Make sure you set this in your CI toolchain appropriately.
0 commit comments