ERROR in [eslint] Failed to load config "prettier:recommended" to extend from. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

ERROR in [eslint] Failed to load config "prettier:recommended" to extend from.

I've tried fixing it by using : npm install --save-dev eslint-config-prettier But the error still persists.

28th Oct 2022, 1:37 PM
Asha
Asha - avatar
1 Answer
+ 2
Ρέυμα Your suggestion worked, after changing it to "prettier" the above error resolved. Thanks. But now there's a new issue, it's regarding babel-eslint, seems like I'll have to update the babel-eslint to @babel/eslint-parser. Parsing error: No Babel config file detected for \src\App.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.
29th Oct 2022, 7:49 PM
Asha
Asha - avatar