Closed davidnixon closed 2 years ago
@upkarlidder added this issue to narrow the scope of #168 after we have this enabled we can add more pre-commit tests
Hi I am interested to work on this
Hi @karthiknatarajan-27558. Please join the discussion in #286. I am sure there will be more work around this.
Background on the problem the feature will solve/improved user experience
Add pre-commit hook support
Describe the solution you'd like
Add the husky package to enable git hooks for developers
Tasks
Referencing this doc install husky And this doc npm husky
edit the package.json and add this to the scripts section
run the install
database
andservices
directoryAcceptance Criteria
Hooks should be enabled when "yarn" is run in the
ui
dir ordatabase
andservices
directory git commit should show "hello husky" for all commits.