community-plugins icon indicating copy to clipboard operation
community-plugins copied to clipboard

chore(lint-staged): setup precommit hook

Open kuangp opened this issue 10 months ago • 1 comments

Hey, I just made a Pull Request!

I assume we want to setup the same pre-commit lint/prettier enforcement in this repo to ensure consistent formatting?

I saw that a lint-staged section is defined in each workspaces package.json but husky and lint-staged weren't defined as deps and so commits aren't currently being formatted. Did we intend to set this up per workspace in case some might follow different standards?

:heavy_check_mark: Checklist

  • [ ] A changeset describing the change and affected packages. (more info)
  • [ ] Tests for new functionality and regression tests for bug fixes
  • [ ] Screenshots attached (for UI changes)
  • [x] All your commits have a Signed-off-by line in the message. (more info)

kuangp avatar Apr 24 '24 22:04 kuangp