Skip to content

Instantly share code, notes, and snippets.

@nisshi-dev
Last active November 26, 2021 14:49
Show Gist options
  • Save nisshi-dev/9dbddec431be5cce1ebef751aa8d306b to your computer and use it in GitHub Desktop.
Save nisshi-dev/9dbddec431be5cce1ebef751aa8d306b to your computer and use it in GitHub Desktop.
vscode-ts-settings
{
// editor
"editor.renderControlCharacters": true,
"editor.showFoldingControls": "always",
"editor.minimap.showSlider": "always",
"editor.minimap.size": "fit",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": ["source.fixAll.eslint"],
"editor.quickSuggestions": { "strings": true },
// files
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.eol": "\n",
"files.encoding": "utf8",
// workbench
"workbench.editor.tabSizing": "shrink",
"workbench.startupEditor": "readme",
// typescript
"typescript.preferences.importModuleSpecifier": "non-relative",
"typescript.tsdk": "node_modules/typescript/lib",
// others
"explorer.incrementalNaming": "smart",
"search.showLineNumbers": true,
"debug.inlineValues": true,
"[markdown]": {
"files.trimTrailingWhitespace": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment