Allows to format your sharec configs with prettier
.
Install the hook:
npm i --save-dev sharec-prettier-hook
# or with yarn
yarn add -D sharec-prettier-hook
Create .sharecrc.js
file in your project with following content:
const perttierHook = require('sharec-prettier-hook')
module.exports = {
afterMerge: perttierHook,
}
The hook is looking for prettier
config inside upcoming configs or inside a target project.