@samuelmeuli/prettier-config
v2.0.1
Published
My Prettier configuration
Downloads
1,065
Maintainers
Readme
prettier-config
This is my personal configuration for the Prettier code formatter.
Installation
yarn add --dev @samuelmeuli/prettier-config
Usage
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.