renke / import-sort

Sort ES2015 (aka ES6) imports. Both JavaScript and TypeScript are supported.
ISC License
466 stars 69 forks source link

eslint sorting without newline group seperators #147

Open jackson-dean opened 2 years ago

jackson-dean commented 2 years ago

Would you be open to a PR with an eslint sorter that does not introduce newlines between import groups? The reason is I am working on a project that enforces the default eslint import sort rule as an error, but the team has thus far just managed it manually so there are quite a few existing files that are sorted but the convention has been not to have newlines between groups. So if I start sorting them using this package via https://marketplace.visualstudio.com/items?itemName=amatiasq.sort-imports it introduces some undesirable changes to commits.