adamDilger

Results 5 comments of adamDilger

🙏 thanks for following this up! I never got around to the final polish+PR step, and have since forgotten about it a few times 😆

I think this issue https://github.com/trivago/prettier-plugin-sort-imports/issues/276 is related, it's due to the `$$` being a special replacement group in a call to `"".replace()`, which this plugin uses in pre-processing vue code....

I've stumbled across this issue also, I've tracked it down to [dollar sign replacement groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#specifying_a_string_as_the_replacement) inside the string producing this error, as even this caused the bug ``` '$'; ```...

I've added another bugfix onto this branch/PR, for #218 , as there would have been conflicting changes if these fixes were separated out. If this is not valid I'm happy...

I think I have come across the same issue, PR here https://github.com/trivago/prettier-plugin-sort-imports/pull/283