netlify-plugin-prettier
v0.0.1
Published
Enforce Prettier code style
Downloads
3
Maintainers
Readme
Netlify Build Plugin: Prettier
Enforce prettier code style
NOTE: Netlify Build Plugins are in beta.
Usage
To install, add prettier
to your project and add the following lines to your netlify.toml
file:
yarn add prettier
[[plugins]]
package = "netlify-plugin-prettier"
Note: The [[plugins]]
line is required for each plugin, even if you have other plugins in your netlify.toml
file already.
If prettier
is checking too many things, try adding a .prettierignore
file.