Sequential merging not work if the input text and prettier config meet certain conditions
Closed this issue · 0 comments
ony3000 commented
Dependency information
- prettier@2.8.4
- prettier-plugin-merge@0.2.1
Steps to reproduce
- Clone
next-tailwind-template
repository. (It currently has a dependency of prettier-plugin-merge@0.2.1) - Install dependencies.
- Change the order of plugins in
.prettierrc.json
so that at least one plugin is placed betweenprettier-plugin-brace-style
andprettier-plugin-merge
. - Try formatting the formatted input text from the perspective of the remaining plugins except
prettier-plugin-brace-style
.
The current behavior
The brace style is not applied.
The expected behavior
(At least in this combination) the brace styles should be applied regardless of plugin order.