Skip to content
Projects

alirezanet/Husky.Net has 862 GitHub stars and 42 forks. GitHot measured +1 in 7 days and +1 in 15 days. Last checked 2026-11-09 18:53 UTC. Last push 2026-04-30.

How these counts are measured

Lint your commit messages, run tests, format or analyze code, and perform any other checks automatically when you commit or push. 🚀

What you can do

  • 🔥 It brings the dev-dependency concept to the .NET world!
  • 🔥 Internal task runner!
  • 🔥 Supports all Git & gitflow hooks
  • Multiple file states (staged, last-commit, git-files, etc...)

Measured star growth

in 24h
Update delayed
in 7 days
+1
in 15 days
+1
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Husky.Net

GitHub Nuget Nuget (with prereleases) Nuget GitHub Workflow Status NuGet version (Husky)

Husky.Net WorkFlow

Introduction

Husky improves your commits and more 🐶 woof! Run linters against staged git files and don't let 💩 slip into your code base!

Inspired by the awesome Husky and lint-staged tools from the JS world, I built Husky.Net to bring the same power and simplicity to .NET developers — and then some! It lets you lint your commit messages, run tests, format or analyze code, and perform any other checks automatically when you commit or push. 🚀

Features

  • 🔥 It brings the dev-dependency concept to the .NET world!
  • 🔥 Internal task runner!
  • 🔥 Supports all Git & gitflow hooks
  • Multiple file states (staged, last-commit, git-files, etc...)
  • CSharp scripts (csx)
  • Supports macOS, Linux and Windows
  • Powered by modern new Git feature (core.hooksPath)
  • User-define variables
  • Compatible with dotnet-format, CSharpier, ReSharper command line tools and other formatting tools
  • User-friendly messages
  • Git GUIs
  • Custom directories
  • Monorepo

Documentation

Support

  • Don't forget to give a ⭐ on GitHub
  • Share your feedback and ideas to improve this tool
  • Share Husky.Net on your favorite social media and your friends
  • Write a blog post about Husky.Net

Articles / Examples

Contribution

Feel free to send me a pull request!

Check out the Contribution Page

Contributors

Thank you to everyone who has contributed to the Huskt.Net codebase. We appreciate you!

Credits

  • This tool inspired of husky & lint-staged and a few other tools, for DotNet, so make sure to support them too!

License

MIT

Explore related projects