Call-for-Code-for-Racial-Justice / Five-Fifths-Voter

Five Fifths Voter is a web application tool designed to enable and empower Black people and others to exercise their right to vote by ensuring their voice is heard
Apache License 2.0
67 stars 37 forks source link

Enable pre-commit hooks #285

Closed davidnixon closed 2 years ago

davidnixon commented 2 years ago

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

Acceptance Criteria

Hooks should be enabled when "yarn" is run in the ui dir or database and services directory git commit should show "hello husky" for all commits.

davidnixon commented 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

karthiknatarajan-27558 commented 2 years ago

Hi I am interested to work on this

upkarlidder commented 2 years ago

Hi @karthiknatarajan-27558. Please join the discussion in #286. I am sure there will be more work around this.