Open MaxGrekhov opened 3 years ago
Hello, thanks for PR. Before merging it I have a couple of questions:
- Can you please provide a bit more info, I just didn't get it how is this related to prettier-vscode project?
I have the same issue with this loader. I have a large TypeScript project and Prettier constantly break a source code because of lack a filepath. When I provide the filepath Prettier is able to understand what parser it should use and everything is fine.
- And if this fix #8 would you be able to add a little test for this feature and update the docs?
I'm not experienced in tests. We just entrust this job to Prettier.
All right, then I'll try to find time soon to add test to check if this close #8
Hey, any updates?
@grehovm sorry, this is not a prioritized project for me at the moment, if you can add a test for this I'll merge and make a new release
Hello. This commit will fix several issue. https://github.com/iamolegga/prettier-loader/issues/8#issue-274492694 https://github.com/prettier/prettier-vscode/issues/955#issue-492449694
I have to use workaround at the moment: