Adding automated linting checks to continuous integration is a great practice, but can lead to frustration if you accidentally commit code that fails.
You can use a git pre-Commit hook to prevent this by executing your linting commands locally before each commit!
---
Join the Community:
💬 Discord: / discord
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter: / sidpalas
👨💼 LinkedIn: / sid-palas
🌐 Website: https://devopsdirective.com
---
Community size at time of posting:
Subscribers: 18372
Channel Views: 611743
On this page of the site you can watch the video online Git pre-commit hook in 45 seconds! with a duration of hours minute second in good quality, which was uploaded by the user DevOps Directive 23 January 2022, share the link with friends and acquaintances, this video has already been watched 12,534 times on youtube and it was liked by 355 viewers. Enjoy your viewing!