1.1.0 • Published 3 years ago
@myparcel/prettier-config v1.1.0
@myparcel/prettier-config
Installation
Using Yarn:
yarn add -D @myparcel/prettier-configUsing NPM:
npm i -D @myparcel/prettier-configUsage
Add this to your package.json:
{
"prettier": "@myparcel/prettier-config"
}And you're good to go! There are a few more specific configurations below.
ES5
{
"prettier": "@myparcel/prettier-config/es5"
}Difference from the default configuration
- trailingComma: 'all'
+ trailingComma: 'es5'Vue
{
"prettier": "@myparcel/prettier-config/vue"
}Difference from the default configuration
- bracketSpacing: false
+ bracketSpacing: true