Skip to content

feat: Setup and Initialise Husky#196

Open
naman9271 wants to merge 1 commit intoshopstr-eng:mainfrom
naman9271:husky
Open

feat: Setup and Initialise Husky#196
naman9271 wants to merge 1 commit intoshopstr-eng:mainfrom
naman9271:husky

Conversation

@naman9271
Copy link
Contributor

Fixes: #195

This pull request introduces automated pre-commit checks to improve code quality and developer workflow. The main changes include adding Husky and lint-staged integration, updating project scripts, and documenting the new process for contributors.

Pre-commit automation and tooling:

  • Added a .husky/pre-commit hook script to run type checking on the entire project and lint-staged checks on staged files before every commit.
  • Updated package.json to include Husky and lint-staged as dev dependencies, added relevant scripts (prepare, pre-commit), and configured lint-staged to run ESLint, Prettier, and Jest on changed files.

Documentation updates:

  • Enhanced contributing.md with a new section explaining the automated pre-commit checks, their purpose, how to bypass them if necessary, and how to run quality checks manually.

@vercel
Copy link

vercel bot commented Oct 5, 2025

@naman9271 is attempting to deploy a commit to the shopstr-eng Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Oct 5, 2025

🚨 Linting & Formatting Report

Prettier found formatting issues. Run npx prettier --write . locally.

🔍 Please fix these before merging.

@github-actions
Copy link

github-actions bot commented Oct 5, 2025

🚨 Linting & Formatting Report

Prettier found formatting issues. Run npx prettier --write . locally.

🔍 Please fix these before merging.

@naman9271 naman9271 changed the title Setup and Initialise Husky feat: Setup and Initialise Husky Oct 5, 2025
@naman9271
Copy link
Contributor Author

Hi @calvadev, Please take a look !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Initialize and Set Up Husky

1 participant