@blueberrypie/prettier-config
v1.0.0
Published
Shared configuration for Prettier
Downloads
35
Readme
@blueberrypie/prettier-config
Installation
- Install:
npm install --save-dev prettier @blueberrypie/prettier-config- Add the following to
package.json:
{
"scripts": {
"fix:prettier": "prettier --ignore-path .lintignore --check --write \"**/*.{ts,tsx,js,jsx,json,css,html,md}\"",
"lint:prettier": "prettier --ignore-path .lintignore --list-different \"**/*.{ts,tsx,js,jsx,json,css,html,md}\""
},
"prettier": "@blueberrypie/prettier-config"
}- Add the following to
.lintignore, adjusted as needed:
package-lock.json
build/