mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-10-28 08:26:01 +08:00
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
// Rename this file 'settings.json' or merge its
|
|
// contents into your existing settings.
|
|
{
|
|
"[typescript][typescriptreact][javascript][javascriptreact][json][jsonc][yaml][github-actions-workflow]": {
|
|
"editor.defaultFormatter": "dprint.dprint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[go][go.mod][go.sum][go.work]": {
|
|
"files.eol": "\n",
|
|
"files.insertFinalNewline": true,
|
|
"editor.defaultFormatter": "golang.go",
|
|
"editor.formatOnSave": true,
|
|
"editor.insertSpaces": false
|
|
},
|
|
"[go]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit",
|
|
"source.fixAll": "explicit"
|
|
}
|
|
},
|
|
"gopls": {
|
|
"formatting.gofumpt": true,
|
|
"ui.diagnostic.analyses": {
|
|
"unusedparams": false
|
|
}
|
|
},
|
|
"go.lintTool": "golangci-lint",
|
|
"go.alternateTools": {
|
|
"golangci-lint": "${workspaceFolder}/tools/custom-gcl${env:GOEXE}"
|
|
},
|
|
"go.lintOnSave": "off",
|
|
"gitlens.advanced.blame.customArguments": [
|
|
"--ignore-revs-file",
|
|
".git-blame-ignore-revs"
|
|
],
|
|
"js/ts.preferences.importModuleSpecifierEnding": "js",
|
|
"js/ts.unstable": {
|
|
"organizeImportsCollation": "unicode",
|
|
"organizeImportsCaseFirst": "upper",
|
|
"organizeImportsIgnoreCase": false,
|
|
"organizeImportsNumericCollation": true,
|
|
"organizeImportsTypeOrder": "inline"
|
|
},
|
|
"js/ts.tsc.autoDetect": "off",
|
|
"npm.autoDetect": "off",
|
|
"grunt.autoDetect": "off",
|
|
"jake.autoDetect": "off",
|
|
"gulp.autoDetect": "off"
|
|
}
|