sharec-prettier-hook
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

sharec-prettier-hook

Sharec logo by Ivashkina Xenia <xeniaowl112@mail.ru>

.github/workflows/main.yml npm MIT License

Allows to format your sharec configs with prettier.

Usage

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,
}

How it works

The hook is looking for prettier config inside upcoming configs or inside a target project.

Readme

Keywords

none

Package Sidebar

Install

npm i sharec-prettier-hook

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.8 kB

Total Files

7

Last publish

Collaborators

  • lamartire