renke / import-sort

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

Deal with comments issue #114

Open naume opened 4 years ago

naume commented 4 years ago

Hi could you also improve the comment deal to have it done also with this comments

import {
  SOME_LONGER_CONSTANTS_HERE,
  AND_SOME_LONGER_CONSTANTS_HERE,
  // flow-ignore-next-line
} from 'constants/foo';

we are moving from js to ts file by file in a big project and we used flow before this is why we have to add on some imports ignore flow!

so in this case constants/foo is a ts file but the constants where imported in a js file.

Long story short term after sorting the // flow-ignore-next-line is not moving together with the import!

naume commented 4 years ago

ohh looks like this is not contributed anymore? :-( Is there a fork of this?

renke commented 4 years ago

Hi @naume

I couldn't find enough time to work on import-sort in the last months, I hope will find some time in the future to work on this and all the other issues.