@siteone/builder-plugin-prettier
v0.12.0
Published
> plugin for [Prettier](https://prettier.io/)
Downloads
10
Keywords
Readme
@siteone/builder-plugin-prettier
plugin for Prettier
Install
$ npm install --save-dev @siteone/builder-plugin-prettier
Usage
None – recognized by and attached to @siteone/builder-core
automatically!
Config
Configurable via the prettier
key on your bldr.config.js
file.
By default, Prettier's configuration files are supported and applied automatically:
.prettierrc
prettier.config.js
package.json
's"prettier"
key.prettierignore
Note: Prettier options passed to
bldr.config.js
directly will override config files' values.
Default Config:
exports.prettier = {
parser: 'babylon'
}
Available Options:
See Prettier's Options