If we have one import foo/bar and another foo-bar, this (excellent) plugin and dprint seem to have different opinions about the correct order of those.
(In my case it was { App } from 'app/app' and { appInit } from 'app-init').
I'm not saying that either is right, but the fix was a bit hard to find because the option isn't documented in dprint's TypeScript plugin.
My solution was set "module.sortImportDeclarations": "maintain" in dprint.json.
Maybe a note in the README could be helpful, otherwise please feel free to close this as it can still be found by searching. And thank you for the nice plugin.
If we have one import
foo/barand anotherfoo-bar, this (excellent) plugin and dprint seem to have different opinions about the correct order of those.(In my case it was
{ App } from 'app/app'and{ appInit } from 'app-init').I'm not saying that either is right, but the fix was a bit hard to find because the option isn't documented in dprint's TypeScript plugin.
My solution was set
"module.sortImportDeclarations": "maintain"in dprint.json.Maybe a note in the README could be helpful, otherwise please feel free to close this as it can still be found by searching. And thank you for the nice plugin.