idahogurl / vs-code-prettier-eslint

A Visual Studio Code Extension to format JavaScript and TypeScript code using the prettier-eslint package.
MIT License
190 stars 47 forks source link

fix #27 #182

Open zhangzhuang15 opened 1 year ago

zhangzhuang15 commented 1 year ago

Hello, I find that #27 is closed, but I still meet this question following the instructions in this issue, so I take a try to read the source code both this repo and prettier-eslint repo. As a result, I make sure that this issue is caused by require.resolve in prettier-eslint source code.In order not to modify the upstream source code, I add some codes in this repo.

I hope that you could make a review if you have enough time.

I'm looking forwards to your reply.