Skip to content

Instantly share code, notes, and snippets.

@justsml
Created June 21, 2022 00:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save justsml/442a7c67f362c7b47b7fd11f2c8b61a1 to your computer and use it in GitHub Desktop.
VS Code Recommended Settings
{
// TypeScript configuration
// Use the project-local typescript version / may be desired, comment out on old TS versions
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.importModuleSpecifier": "relative",
// Terminal settings
"terminal.integrated.scrollback": 100000, // Terminal scrollback line limit
// Set terminal font size to match VS Code font size. See: https://www.NerdFonts.com/
"terminal.integrated.fontFamily": "'MesloLGS NF', 'Hack Nerd Font', Menlo, Monaco, 'Courier New', monospace",
// Editor settings
"editor.fontFamily": "'MesloLGS NF', 'Hack Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 100,
"editor.tabSize": 2, // Condensed 'tab' size
// ESLint Plugin Config
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.format.enable": true,
"eslint.packageManager": "yarn",
"eslint.alwaysShowStatus": true,
// Prettier Plugin Defaults
"prettier.enable": true,
"prettier.requireConfig": true,
"prettier.singleQuote": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSaveMode": "modificationsIfAvailable",
"[javascript]": {
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment