@caisy/prettier
v1.14.1
Published
### Install:
Downloads
27
Readme
prettier
Install:
yarn add @caisy/prettier -D
Usage:
Use one of the tree approaches:
- Add it to your package.json:
{
"prettier": "@caisy/prettier"
}
- Add it to your .prettierrc.json:
"@caisy/prettier"
- If you want to override some properties of the config:
// .prettierrc.js
module.exports = {
...require('@caisy/prettier'),
semi: false,
};
Ignoring Code:
- Use this, if you do not want to extend the .prettierignore:
npx prettier ** --write --ignore-path node_modules/@caisy/prettier/.prettierignore
- Use this, if you want to extend the .prettierignore:
cp "./node_modules/@caisy/prettier/.prettierignore" ".prettierignore"