1.1.0 • Published 2 years ago

@myparcel/prettier-config v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

@myparcel/prettier-config

NPM version

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