This project has been created to configure Prettier, Eslint and Eslint plugins for a React project from scratch. It is the repository referenced in the step by step written tutorial on this topic
Date: 14th November, 2020
Credits: Complete React v5 course by Brian Holt on frontend masters.
- clone the repository by running
git clone https://github.com/anuk79/prettier-eslint-configuration-for-react.git
- run
npm install
in directory prettier-eslint-configuration-for-react from terminal - execute
npm run dev
to start the dev server. It contains just a barebone code to display some text. - check the package.json, .eslintrc and .prettierrc files to explore the configurations