You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Configure a Husky precommit hook to run the test suite before allowing commits.
Ensure that the precommit hook is triggered automatically when attempting to commit changes.
Provide informative feedback to the user in case of test failures, indicating the need to address them before committing.
Document the setup process and guidelines for developers on utilizing the precommit hook effectively.
Complexity: Easy
Product Name
Stencil-cli
Organisation Name
SamagraX
Domain
Bash
Tech Skills Needed
Bash, Husky
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: