I'll open a separate PR to the eslint-config-wesbos repo to add a similar note there as well.
A few people in the #beginner-javascript Slack channel have been running into an issue where ESLint either throws a Parsing error: Cannot find module '@babel/preset-react error or it just fails to format the code at all, so far each time the issue was caused by the person opening a parent projects or code folder and then manually navigating to the beginner-javascript folder in the file viewer on the side.
ESLint isn't happy unless the folder where it's installed is directly opened in VS Code. 🙂
Hey Wes,
I'll open a separate PR to the
eslint-config-wesbos
repo to add a similar note there as well.A few people in the #beginner-javascript Slack channel have been running into an issue where ESLint either throws a
Parsing error: Cannot find module '@babel/preset-react
error or it just fails to format the code at all, so far each time the issue was caused by the person opening a parentprojects
orcode
folder and then manually navigating to thebeginner-javascript
folder in the file viewer on the side.ESLint isn't happy unless the folder where it's installed is directly opened in VS Code. 🙂