1.0.2 • Published 4 years ago
@darwinhomes/prettier-config v1.0.2
@darwin-homes/prettier-config
Shareable Prettier config for Darwin Homes.
Usage
npm install --save-dev @darwinhomes/prettier-config prettier@2.4.0
Then, add the following to your package.json
:
{
"scripts": {
"format": "prettier . --write"
},
"prettier": "@darwinhomes/prettier-config"
}
You can also create a .prettierignore
or pass --ignore-path .gitignore
to exclude ignored files from formatting.
See our ESLint config for next steps, including instructions on setting up git hooks.