ony3000/prettier-plugin-merge

Sequential merging not work if the input text and prettier config meet certain conditions

Closed this issue · 0 comments

Dependency information

  • prettier@2.8.4
  • prettier-plugin-merge@0.2.1

Steps to reproduce

  1. Clone next-tailwind-template repository. (It currently has a dependency of prettier-plugin-merge@0.2.1)
  2. Install dependencies.
  3. Change the order of plugins in .prettierrc.json so that at least one plugin is placed between prettier-plugin-brace-style and prettier-plugin-merge.
  4. 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.