@totejs/prettier-config
Reusable config for Prettier
Install
yarn add @totejs/prettier-config -D
Usage
// add config and script in package.json
{
"scripts": {
"lint": "prettier --loglevel error --write \"**/*.{jsx?,tsx?,json,md,html}\""
},
"prettier": "@totejs/prettier-config"
}