Skip to content

Instantly share code, notes, and snippets.

@prakhar897
Created March 12, 2024 10:27
Show Gist options
  • Save prakhar897/51a57db5ad96c13f666a62cf6baf55dc to your computer and use it in GitHub Desktop.
Save prakhar897/51a57db5ad96c13f666a62cf6baf55dc to your computer and use it in GitHub Desktop.
Typescript .vscode/settings.json
{
"javascript.preferences.importModuleSpecifier": "relative",
"typescript.preferences.importModuleSpecifier": "relative",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"[javascript][typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.formatOnPaste": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment