wesbos / Wes-Bos-Video-Notes

These are notes that supplement the videos on Wes Bos Courses
73 stars 301 forks source link

add note about eslint and opening the correct folder #11

Closed Asjas closed 2 years ago

Asjas commented 2 years ago

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 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. 🙂

wesbos commented 2 years ago

beauty thanks, this is the kind of stuff I hate because its a hangup that just gets in the way of learning