This PR updates VSCode settings to use Fleet's installed version of Typescript (v4.7.4) for its language server (linting, autocomplete, etc.) instead of what's built in to VSCode (v6.0.2). As the two can drift, we end up with VSCode incorrectly highlighting certain syntax as incorrect.
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"makefile.extensionOutputFolder": "./.vscode",
|
|
"editor.formatOnPaste": true,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"diffEditor.codeLens": true,
|
|
"rewrap.autoWrap.enabled": true,
|
|
"rewrap.wrappingColumn": 100,
|
|
"go.lintTool": "golangci-lint",
|
|
"go.useLanguageServer": true,
|
|
"gopls": {
|
|
"gofumpt": true,
|
|
},
|
|
"go.autocompleteUnimportedPackages": true,
|
|
"go.buildTags": "full,fts5",
|
|
"go.delveConfig": {
|
|
"dlvLoadConfig": {
|
|
"followPointers": true,
|
|
"maxVariableRecurse": 1,
|
|
"maxStringLen": 256,
|
|
"maxArrayValues": 64,
|
|
"maxStructFields": -1
|
|
},
|
|
"apiVersion": 2,
|
|
"showGlobalVariables": true,
|
|
"debugAdapter": "legacy",
|
|
"substitutePath": []
|
|
},
|
|
"go.testTimeout": "5m",
|
|
"go.testEnvVars": {
|
|
"MYSQL_TEST": "1",
|
|
"REDIS_TEST": "1"
|
|
},
|
|
"html.format.templating": true,
|
|
"html.format.wrapAttributes": "preserve",
|
|
"html.format.wrapLineLength": 0,
|
|
"prettier.requireConfig": true,
|
|
"yaml.schemas": {
|
|
"https://json.schemastore.org/codecov.json": ".github/workflows/codecov.yml"
|
|
},
|
|
"js/ts.tsdk.path": "node_modules/typescript/lib"
|
|
}
|