-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vs-code lintflags #222
Comments
Hi! I use following settings: "go.lintTool":"golangci-lint",
"go.lintFlags": [
"--fast"
], And it works ok. Configuration (enabled/disabled linters) is automatically found in a `.golangci.yml file in repo by golangci-lint. You can also use such config file, it's convenient. |
@Kuqd Showing the output window (Ctrl+Shift+U or
Either install this missing tool, or disable both Which brings me to my issue. I tried to disable these linters but I think I hit a bug. On Windows,
A table for better view..
Only # 3 works even though all documentations use either # 1 or # 2. Go: 1.11.4 |
I used config file as mentioned by @jirfag , I'm ok to close that issue if you'd like. Thanks ! |
|
Thanks @jirfag for your explanation. |
Hello,
It seems that if we want to add flags using vscode:
The linter doesn't work anymore, I'm guessing it has to do with the command
run
. Do you have a workaround to enable more linter in vs-code ? Could we use a config file ? If yes is it per package/project ?golangci-lint version v1.10.2
Thank you !
The text was updated successfully, but these errors were encountered: