import-sort icon indicating copy to clipboard operation
import-sort copied to clipboard

Deal with comments issue

Open naume opened this issue 5 years ago • 2 comments

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 avatar Apr 24 '20 07:04 naume

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

naume avatar Apr 28 '20 09:04 naume

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.

renke avatar Apr 28 '20 10:04 renke