1.0.0 • Published 2 years ago
@hiperative/prettier-config v1.0.0
@hiperative/prettier-config
Hiperative's base Prettier config.
Installation
npm install --save-dev prettier @hiperative/prettier-config
# OR
yarn add --dev prettier @hiperative/prettier-config
Usage
If you don't plan on changing the config at all, the easiest way to install is
to use the
prettier
parameter
in package.json
:
{
"name": "your-awesome-app",
"prettier": "@hiperative/prettier-config"
}
If you need to extend or change the config, you can update your project's
prettier.config.js
file to import the rule sets you want:
module.exports = {
...require('@hiperative/prettier-config'),
// your overrides here
}
Read the Prettier config docs for more information.
1.0.0
2 years ago