Skip to content

Commit

Permalink
Modify VSCode typescript import preferences (safe-global#748)
Browse files Browse the repository at this point in the history
Modifies the import preferences (non-relative imports) for VSCode. This forces the IDE to use non-relative paths (i.e. "@/*" path aliases) when automatically importing files.
  • Loading branch information
hectorgomezv authored Oct 11, 2023
1 parent b38435d commit c21e2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescript]": {
"typescript.preferences.importModuleSpecifier": "relative"
"typescript.preferences.importModuleSpecifier": "non-relative"
}
}

0 comments on commit c21e2cf

Please sign in to comment.