Step-by-Step Guide to Setting Up Eslint, Prettier, Husky, Lint-Staged
Install the prettier with below command
npm i -D prettier
create the .prettierrc file with below details
{
"trailingComma": "all",
"semi": true,
"singleQuote": false,
"tabWidth": 2
vishalrathore.hashnode.dev2 min read