Skip to content

samuelmeuli/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

☑️ My Prettier configuration

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors