amatiasq / vsc-sort-imports

Sort ES6 imports automatically.
ISC License
59 stars 24 forks source link

Conflict with simple-import-sort #67

Closed ghengeveld closed 4 years ago

ghengeveld commented 4 years ago

I'm using eslint-plugin-simple-import-sort instead of sort-imports. Because they sort slightly differently they sometimes conflict. I could disable the VSC extension for the workspace but it'd be nicer if vsc-sort-imports didn't conflict like that, either by supporting the same sorting order (by path instead of name) or detect the presence of the simple-import-sort ESLint plugin when using the eslint style setting.

amatiasq commented 4 years ago

vsc-sort-import sorting algorithm supports different styles and plugins I built this one myself for example.

We can't hardcode a list of extensions that fulfill the same task as vsc-sort-imports because that would be unmaintainable.