Skip to content

Instantly share code, notes, and snippets.

@huksley
Last active December 17, 2025 15:17
Show Gist options
  • Select an option

  • Save huksley/5556b3097780d332895146007826fe9d to your computer and use it in GitHub Desktop.

Select an option

Save huksley/5556b3097780d332895146007826fe9d to your computer and use it in GitHub Desktop.
Automatic code formatting settings for VSCode - never commit to git - put it to .vscode/settings.json file
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"eslint.alwaysShowStatus": true,
"typescript.preferences.importModuleSpecifier": "non-relative",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"explorerExclude.backup": {},
"cSpell.enabled": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment