chess icon indicating copy to clipboard operation
chess copied to clipboard

Integrate Husky, ESLint, and Prettier with Pre-Commit Hooks

Open tanmay4l opened this issue 2 years ago • 3 comments

fixed issue : #133

This pull request integrates Husky, ESLint, and Prettier into project setup to enhance code quality , Here are the key changes:

  • Husky: Configured to manage pre-commit hooks that ensure code quality checks are passed before commits are made.
  • ESLint: Set up to enforce coding standards and catch JavaScript/TypeScript issues early.
  • Prettier: Implemented to automatically format code to maintain a consistent style.
  • Pre-Commit Hooks: Added hooks to run ESLint and Prettier checks on staged files before committing, ensuring only well-formatted and error-free code is committed to the repository.

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] I assure there is no similar/duplicate pull request regarding same issue

tanmay4l avatar Apr 20 '24 21:04 tanmay4l

@hkirat ? Screenshot 2567-04-21 at 2 58 32 AM

tanmay4l avatar Apr 20 '24 21:04 tanmay4l

lots of conflicts Can u just add the lint changes . I'll do a wholesale lint on the project

hkirat avatar Apr 22 '24 01:04 hkirat

lots of conflicts Can u just add the lint changes . I'll do a wholesale lint on the project

done

tanmay4l avatar May 09 '24 13:05 tanmay4l

@siinghd have a look brother

tanmay4l avatar Jun 23 '24 05:06 tanmay4l

@hkirat any bounty for this ? 😅🫢

tanmay4l avatar Jul 09 '24 07:07 tanmay4l