Skip to content

caisy-io/prettier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier

Install:

yarn add @caisy/prettier -D

Usage:

Use one of the tree approaches:

  1. Add it to your package.json:
{
  "prettier": "@caisy/prettier"
}
  1. Add it to your .prettierrc.json:

"@caisy/prettier"

  1. If you want to override some properties of the config:
// .prettierrc.js
module.exports = {
  ...require('@caisy/prettier'),
  semi: false,
};

Ignoring Code:

  1. Use this, if you do not want to extend the .prettierignore:
npx prettier ** --write --ignore-path node_modules/@caisy/prettier/.prettierignore
  1. Use this, if you want to extend the .prettierignore:
cp "./node_modules/@caisy/prettier/.prettierignore" ".prettierignore"

Releases

No releases published

Packages

No packages published