Open hyoban opened 7 months ago
Can not use this with prettier-plugin-organize-imports.
Could you post a reproduction please? It's hard to triage without knowing what you mean, and this issue is pretty sparse in details.
Sorry for missing reproduction, it's here.
https://github.com/hyoban-repro/prettier-plugin-curly-collision
Gotcha - that is spooky. Thanks!
@all-contributors please add @hyoban for bug.
🤖 Beep boop! This comment was added automatically by all-contributors-auto-action. Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed. ...and of course, thank you for contributing! 💙
@JoshuaKGoldberg
I've put up a pull request to add @hyoban! :tada:
I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.
I'm having the same issue with IanVS/prettier-plugin-sort-imports. There's some kind of collision and the enforced curly is not working 😔
Bug Report Checklist
main
branch of the repository.Expected
Works fine with other prettier plugins like
prettier-plugin-organize-imports
.Actual
Can not use this with
prettier-plugin-organize-imports
.Additional Info
Maybe the reason is you are overriding
preprocess
?https://github.com/JoshuaKGoldberg/prettier-plugin-curly/blob/c56f274bacf294db5191d67ae04c44afd8c0d7fc/src/index.ts#L8-L14
Some links may be useful
prettier-plugin-tailwindcss
.