@myparcel/prettier-config
v1.1.0
Published
Prettier configuration for MyParcel
Downloads
1,094
Readme
@myparcel/prettier-config
Installation
Using Yarn:
yarn add -D @myparcel/prettier-config
Using NPM:
npm i -D @myparcel/prettier-config
Usage
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