A tool for error-free commits @DevLeonardo
A tool for error-free commits  @DevLeonardo
Uploaded July 2023 | Updated November 2026, 3 days ago
Three things you do NOT want in your main repository: unformatted code, warnings/errors and failing tests.

Is there an easy way to prevent these from happening? Sure, just don't forget to check your code before pushing.

Or... use a tool which does that for you: husky!

Docs: typicode.github.io/husky
_______________________________
Hit like and subscribe for more content! :D
Join the Discord community! Here's the invite: discord.gg/bqwyEa6We6

You can also follow me on the other platforms:
Twitter: twitter.com/Balastrong
dev.to: dev.to/balastrong
Home: https://leonardomontini.dev/
TikTok: tiktok.com/@balastrong
GitHub: github.com/Balastrong
Instagram: instagram.com/devbalastrong
_______________________________
TIMESTAMPS
00:00 Demo
00:49 Setup
02:08 pre-commit - Format & Lint
03:52 pre-push - Run tests
04:27 Bypass husky
05:32 Learn more
_______________________________
Sound effects from zapsplat.com

#git #hook #nodejs
A tool for error-free commitsWhy values on my React form do not update?How GitHub Copilot uses MCP Server ToolsRun GitHub Actions locally - act LIVE DEMOA valid alternative to Create React App being Deprecatedcamelize your snake_case APIWhy do we Fork on GitHub?No more commit messagesLong numbers in #javascriptI quit my developer jobTypescript Type Unit TestTanStack Start Server Middleware
Dev Leonardo |

A tool for error-free commits

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER