ggascoigne / prettier-plugin-import-sort

Prettier plugin to pass javascript and typescript through import-sort
MIT License
110 stars 11 forks source link

import-sort-ignore not working #9

Closed sachaw closed 4 years ago

sachaw commented 4 years ago

Not sure if it's an issue with you package, however that is what I'm using. Any file containing a comment with the content import-sort-ignore should be excluded

ggascoigne commented 4 years ago

I didn't actually know that this option existed, that said, I just tried it in one of my projects by adding // import-sort-ignore to some files. They were still formatted by prettier, but their imports were not re-ordered by import-sorts.

In other words, as far as I can tell the options works for me. This was tested with prettier@2.0.1

sachaw commented 4 years ago

Ok, great, I'll take this issue elsewhere than, thanks.

golergka commented 2 years ago

@sachaw have you been able to reproduce this? I'm seeing the same issue