A standard prettier configuration to use throughout JavaScript projects
- Install
Yarn
yarn add --dev prettier prettier-config-joaopedrodcf
Npm
npm install --save-dev prettier prettier-config-joaopedrodcf
- Now create a file named: .prettierrc.js and insert this code there
module.exports = require('prettier-config-joaopedrodcf');
- Now its ready to use