-
-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"prettier.eslintIntegration": true causes error #96
Comments
Does it happen on every file in your project? |
I can confirm this one. If I try to format with the devtools opened, I've got this error :
After some digging, I can see, when logging the error here that an error is thrown because of some pathname passed by eslint :
Didn't go further but I'm pretty sure this error come from the fact that my current project use an old and incompatible version of eslint (1.10.3, the latest in the 1.X branch FWIW) and this extension try to use the local one. Not sure about the way to fix that. |
Upgrading eslint fixes it? |
Seems to fixes it indeed. |
prettier-vscode 0.17.2 upgrades prettier-eslint dependency. Those it fixes this issue? |
Just tried with 0.19.0, and everything seems OK. Thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Format document with
"prettier.eslintIntegration": true
causes "Path must be a string. Received undefined". I have prettier-eslint installed in my project's node_modules directory.The text was updated successfully, but these errors were encountered: