Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Shared Prettier config

Install

npm install -D prettier @rambler-tech/prettier-config

or

yarn add -D prettier @rambler-tech/prettier-config

Usage

Create a .prettierrc and export a string

"@rambler-tech/prettier-config"

or add a key to your package.json file

"prettier": "@rambler-tech/prettier-config"

Included configurations

  • @rambler-tech/prettier-config - base JavaScript and TypeScript
  • @rambler-tech/prettier-config/semi - base with semicolons and trailing commas