I will implement pre-commit hooks to ensure that all code commits adhere to our linting and code formatting standards. This will help maintain code quality and consistency across the project. We will use Husky to set up these hooks.
Tasks:
[ ] Open the terminal and navigate to the project's root directory.
[ ] Run the command to install Husky as a development dependency.
[ ] Set up Husky to manage Git hooks by running.
[ ] Add a pre-commit hook to run linting and formatting checks before each commit.
[ ] Ensure the package.json file includes scripts for linting and formatting. Update the file to include.
[ ] Test the pre-commit hook by attempting to make a commit. Ensure that any linting or formatting issues block the commit and display errors in the terminal.
Acceptance Criteria:
Pre-commit hooks are successfully installed and configured.
Linting and formatting checks run automatically before each commit.
Documentation is updated to reflect these changes.
I will implement pre-commit hooks to ensure that all code commits adhere to our linting and code formatting standards. This will help maintain code quality and consistency across the project. We will use Husky to set up these hooks.
Tasks:
Acceptance Criteria: