Search and replace bug in monorepo
👋 Hi,
I have a monorepo with multiple sub packages with their own config file. When I try to find and replace an occurence in these files, prettier takes the entirely first file content in results and paste it in the others. This bug occurs when files have not the same name too.
prettier ^3.0.3
Prettier - Code formatter v10.1.0
yarn 3.6.4 installConfig.hoistingLimits: "dependencies"
https://github.com/prettier/prettier/assets/3451011/ad360eb7-0b34-4ef2-8a12-e85941f62de5
Repro: https://github.com/TomCorvus/prettier-monorepo
I'm also experiencing this problem, any solutions please?
Currently I can solve this problem by downgrading to version 2.8.7
I think this issue has fallen into the deep end. @fisker can you check this issue or attribute it to someone please? Thank you