mirror of https://github.com/databricks/cli.git
Enable gofumpt in vscode (#2001)
## Tests Verified that with this setting, VSCode reformats code on Save according to gofumpt rules.
This commit is contained in:
parent
7249b82bf7
commit
a7e91a5b68
|
@ -7,6 +7,10 @@
|
||||||
"go.lintFlags": [
|
"go.lintFlags": [
|
||||||
"--fast"
|
"--fast"
|
||||||
],
|
],
|
||||||
|
"go.useLanguageServer": true,
|
||||||
|
"gopls": {
|
||||||
|
"formatting.gofumpt": true
|
||||||
|
},
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"files.insertFinalNewline": true,
|
"files.insertFinalNewline": true,
|
||||||
"files.trimFinalNewlines": true,
|
"files.trimFinalNewlines": true,
|
||||||
|
|
Loading…
Reference in New Issue