1.0.0 • Published 5 years ago
@blueberrypie/prettier-config v1.0.0
@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/
1.0.0
5 years ago