Open lupenq opened 3 years ago
@Tibfib
Hi @lupenq,
There is currently no way to do this. The library specifically ignores bare imports. Support could be added, but it would need to be an option, preferably a per-group option. I'm open to PRs to add the functionality.
Thanks!
Hey @Tibfib, Great plugin first of all. After a ton of research & playing with a lot of eslint plugins for sorting imports, this comes really close to what I was looking for. I'm trying to migrate away from the sort-imports by visual studio.
I'm having a similar use case where it's quite common for these style imports to be at the bottom of all the imports as a separate group like @lupenq mentioned in this issue. (Also related https://github.com/Tibfib/eslint-plugin-import-helpers/issues/24)
I don't mind raising a PR for this, Can you help guide me in the right direction on the expectation & how can I get started with this project?
I've never worked on an eslint plugin before but I'm well aware of the JS ecosystem & have played with the usages of this particular plugin with different regex.
This would be pretty neat
I know that the documentation has a clause about such imports, but can there still be some way? I just want the style imports to always be at the bottom of everyone else
ex. imports:
my config: