@ayloncarrijo/prettier-config
v1.0.2
Published
A shareable Prettier config used in my projects.
Readme
@ayloncarrijo/prettier-config
A shareable Prettier config used in my projects.
Install
pnpm add -D @ayloncarrijo/prettier-configUsage
- Add this field to your
package.jsonfile:
{
"prettier": "@ayloncarrijo/prettier-config"
}This method does not offer a way to extend the config to overwrite some properties from the shared config. If you need to do that, import the file in a
.prettierrc.jsfile and export the modifications, for example:module.exports = { ...require("@ayloncarrijo/prettier-config"), singleQuote: true, };
