Use yarn to install Prettier and custom config:
yarn add --dev prettier @leandromatos/prettier-config
Create a new .prettierrc.js
file and export an object containing your settings:
module.exports = {
...require('@leandromatos/prettier-config'),
}
© All rights reserved