btholt / complete-intro-to-react-v6

learn React.js with Brian Holt
https://frontendmasters.com/courses/complete-react-v6/
Other
1.47k stars 215 forks source link

add babelOptions attribute #41

Closed Saif-Shines closed 1 year ago

Saif-Shines commented 3 years ago

For reasons that I completely don't understand, eslint began to throw the a parsing error.

Parsing error: No Babel config file detected
Parsing error: No Babel config file detected for ~/react-v6/src/Carousel.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.

I was able to fix it by appending the following attribute. Assuming it helps, raising this Pull Request.