Skip to content

feat(tooling): Add Husky and lint-staged for pre-commit hooks (#193)#203

Open
ManishhDev wants to merge 2 commits intoneutralinojs:mainfrom
ManishhDev:fix-issue-193
Open

feat(tooling): Add Husky and lint-staged for pre-commit hooks (#193)#203
ManishhDev wants to merge 2 commits intoneutralinojs:mainfrom
ManishhDev:fix-issue-193

Conversation

@ManishhDev
Copy link
Copy Markdown

Description

Configured pre-commit hooks using Husky v9.1.7 and lint-staged v16.2.7 to automatically run Prettier and ESLint on staged files before commits.

Changes

  • ✅ Installed Husky v9.1.7
  • ✅ Installed lint-staged v16.2.7
  • ✅ Configured pre-commit hook in .husky/pre-commit
  • ✅ Added lint-staged configuration in package.json
  • ✅ ESLint and Prettier run automatically on commit

Benefits

  • Enforces code style consistency
  • Prevents code quality regressions
  • Reduces manual code review time
  • Improves developer experience

Related Issue

Closes #193

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.

Adding Prettier and husky

2 participants