prettier-plugin-sort-imports icon indicating copy to clipboard operation
prettier-plugin-sort-imports copied to clipboard

Ignores "semi": false from .prettierrc

Open mendrik opened this issue 2 years ago • 2 comments

The reformatted imports always end with a semi-colon, regardless what prettier has been configured with.

So there is a brief state where all imports end with semi-colons, then after another run on save, they disappear.

mendrik avatar May 19 '22 16:05 mendrik

second this, it's quite annoying!

stuaylward avatar Jul 14 '22 09:07 stuaylward

I believe this may have been fixed? Was running into a similar semicolon issue, needed to setup my importOrderParserPlugins config properly:

"importOrderParserPlugins": ["typescript", "classProperties", "decorators-legacy"]

potentially similar issue https://github.com/trivago/prettier-plugin-sort-imports/issues/169

lukethacoder avatar May 20 '23 01:05 lukethacoder