Closed oritheorca closed 3 years ago
This PR adds a pre-commit hook using husky that runs yarn run prettier-format on all staged files, so unformatted files cannot make it into the repo.
yarn run prettier-format
@odcheung Can you add documentation about the lint/prettier setup when you add the README?
Some references: https://khalilstemmler.com/blogs/tooling/prettier/
This PR adds a pre-commit hook using husky that runs
yarn run prettier-format
on all staged files, so unformatted files cannot make it into the repo.@odcheung Can you add documentation about the lint/prettier setup when you add the README?
Some references: https://khalilstemmler.com/blogs/tooling/prettier/