@calblueprint/prettier-config
v0.0.1
Published
Shared Prettier config for Cal Blueprint projects
Downloads
2
Keywords
Readme
prettier-config
This package provides a shared Prettier configuration.
Usage
Install this package as a development dependency:
# with npm npm install --save-dev @calblueprint/prettier-config # with yarn yarn add --dev @calblueprint/prettier-config
Install peer dependencies:
# with npm or yarn npx install-peerdeps --dev @calblueprint/prettier-config
Use the shared Prettier config in your project's
.prettierrc.js
:module.exports = { ...require('@calblueprint/prettier-config'), // Add any overrides here };
Note: you may need to remove or merge any other existing prettier config files.
Test that the config is working by running
npx prettier --check .
in your project's root directory.