简体   繁体   中英

How to disable go linter in vscode?

I simply want to disable all linting. At some point Visual Studio Code (VSCode) asked to update golang tools / settings, and it enabled linting.

I searched on Google, but I found only results about setting the linter or disabling specific warnings.

Go to your extension settings and replace the go.lintTool value to empty string

在此处输入图像描述

Tools like goimports also format the code so you can also check if other tools running or on save events that might be triggering these tools

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM