Gibezynu Nu
Gibezynu Nu

Reputation: 374

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.

Upvotes: 3

Views: 13189

Answers (1)

Shubham Srivastava
Shubham Srivastava

Reputation: 1877

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

enter image description here

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

Upvotes: 3

Related Questions