Jesn / Husky.Net

Git hooks made easy with Husky.Net internal task runner! 🐢 It brings the dev-dependency concept to the .NET world!

Home Page:https://alirezanet.github.io/Husky.Net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Husky.Net

GitHub Nuget Nuget (with prereleases) Nuget GitHub Workflow Status

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!

These two quotes from husky and lint-staged JS tools inspired me to create Husky.Net for dotnet developers. it provides a simple native way to do both also has a lot of other cool features. You can use it to lint your commit messages, run tests, lint/format code, etc... 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
  • 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

Contribution

Feel free to send me a pull request!

Check out the Contribution Page

Credits

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

  • I'd also like to thank kaylumah for his article that gave me the csharp scripting support idea.

License

MIT

About

Git hooks made easy with Husky.Net internal task runner! 🐢 It brings the dev-dependency concept to the .NET world!

https://alirezanet.github.io/Husky.Net/

License:MIT License


Languages

Language:C# 98.3%Language:Shell 1.5%Language:Batchfile 0.3%