简体   繁体   中英

vscode go linter linting go code, how to disable

I am using go in vscode. The problem is that it seems to be linting the golang source code and is coming up with warnings. How do I disable the linting of the go source code itself.

在此处输入图像描述

Couple of recommendation:

  • Update everything (VScode, Go, VSCode-Go extension)
  • Make sure your workspace (or opened folder) is limited to your project sources.
  • Use golangci-lint as Lit Tool
  • Activate the "Go: Lint on save" setting, with 'package' as the selected option.

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