Description
Currently, our project lacks a mechanism to ensure that all changes adhere to our testing standards before they are committed. This issue aims to address this by implementing a Husky precommit hook that automatically runs the test suite before allowing commits to be made. By enforcing this practice, we can maintain code quality and prevent regressions by catching potential issues early in the development process.
Objective
The primary objective of this issue is to update the Husky precommit hook to execute the test suite automatically before allowing any commits to proceed. Right now, it uses lint-staged via npx to execute linting tasks on staged files before allowing commits.
Ref: https://github.com/SamagraX-Stencil/stencil-cli/blob/master/.husky/pre-commit
Goals
Complexity: Easy
Product Name
Stencil-cli
Organisation Name
SamagraX
Domain
Bash
Tech Skills Needed
Bash, Husky
Description
Currently, our project lacks a mechanism to ensure that all changes adhere to our testing standards before they are committed. This issue aims to address this by implementing a Husky precommit hook that automatically runs the test suite before allowing commits to be made. By enforcing this practice, we can maintain code quality and prevent regressions by catching potential issues early in the development process.
Objective
The primary objective of this issue is to update the Husky precommit hook to execute the test suite automatically before allowing any commits to proceed. Right now, it uses lint-staged via npx to execute linting tasks on staged files before allowing commits.
Ref: https://github.com/SamagraX-Stencil/stencil-cli/blob/master/.husky/pre-commit
Goals
Complexity: Easy
Product Name
Stencil-cli
Organisation Name
SamagraX
Domain
Bash
Tech Skills Needed
Bash, Husky