Skip to content

Instantly share code, notes, and snippets.

@DoctorDerek
Created August 23, 2021 03:23
Show Gist options
  • Save DoctorDerek/4438a4340cc4f436ca12e38c4863cfba to your computer and use it in GitHub Desktop.
Save DoctorDerek/4438a4340cc4f436ca12e38c4863cfba to your computer and use it in GitHub Desktop.
import-sorter.json Prettier defaults -- How to Sort Imports in TypeScript Automatically in VS Code https://medium.com/p/f4fe4e499bb1
{
"generalConfiguration.sortOnBeforeSave": true,
"importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimitExceptIfOnlyOne",
"importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 80,
"importStringConfiguration.tabSize": 2,
"importStringConfiguration.quoteMark": "double"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment