qenya/vscode: use golangci-lint to lint go files
This commit is contained in:
parent
024bf2b990
commit
f9f262a856
|
@ -36,6 +36,7 @@ in
|
||||||
"dlv" = "${pkgs.delve}/bin/dlv";
|
"dlv" = "${pkgs.delve}/bin/dlv";
|
||||||
"staticcheck" = "${pkgs.go-tools}/bin/staticcheck";
|
"staticcheck" = "${pkgs.go-tools}/bin/staticcheck";
|
||||||
};
|
};
|
||||||
|
"go.lintTool" = "golangci-lint";
|
||||||
"go.toolsManagement.checkForUpdates" = "off";
|
"go.toolsManagement.checkForUpdates" = "off";
|
||||||
"gopls" = {
|
"gopls" = {
|
||||||
"formatting.gofumpt" = true;
|
"formatting.gofumpt" = true;
|
||||||
|
|
Loading…
Reference in a new issue