@samuelmeuli/prettier-config
v2.0.1
Published
My Prettier configuration
Maintainers
Readme
prettier-config
This is my personal configuration for the Prettier code formatter.
Installation
yarn add --dev @samuelmeuli/prettier-configUsage
Add the following keys to your package.json file:
{
// ...
"scripts": {
"format": "prettier --write '**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}'"
},
"prettier": "@samuelmeuli/prettier-config"
}You can now run yarn format to format your code.
