@caisy/prettier

1.14.1 • Public • Published

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"

Readme

Keywords

none

Package Sidebar

Install

npm i @caisy/prettier

Weekly Downloads

2

Version

1.14.1

License

none

Unpacked Size

1.23 kB

Total Files

6

Last publish

Collaborators

  • m.gruber