2.0.1 • Published 4 years ago

@samuelmeuli/prettier-config v2.0.1

Weekly downloads
84
License
MIT
Repository
github
Last release
4 years ago

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.