threshold-network / staking-subgraphs

Threshold Network staking subgraphs
https://threshold.network
1 stars 1 forks source link

Add code formatting intallation to yarn lifecycle #32

Closed manumonti closed 2 years ago

manumonti commented 2 years ago

Up to now, it was necessary to run "husky install" after running yarn install in order to get the pre-commit hooks running.

Adding a "prepare" script with this installation in the package.json will set-up Prettier and ESLint when yarn install is run.