@veracity/prettier-config
v1.0.0
Published
Veracity's historic Prettier config
Downloads
314
Maintainers
Keywords
Readme
@veracity/prettier-config
Veracity's historic Prettier config.
[!IMPORTANT]
This configuration hasn't been tested yet with Prettier 3.
Usage
Install:
npm install --save-dev @veracity/prettier-config
Edit package.json
:
{
// ...
"prettier": "@veracity/prettier-config"
}
Note: Prettier does not offer a built-in way to extend a shared configuration and overwrite some of its properties. If you want to do that, you need to use a .prettierrc.js
file and export the modifications, e.g:
module.exports = {
...require('@veracity/prettier-config'),
semi: true
}