Husky 0.6.0-Preview2
This is a prerelease version of Husky.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Husky --version 0.6.0-Preview2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Husky --version 0.6.0-Preview2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Husky&version=0.6.0-Preview2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Husky --version 0.6.0-Preview2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Husky.Net
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, 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
- Automatically version and release .Net Application by @antosubash
- <span dir="rtl" align="right">چرا باید از Git Hooks استفاده کنیم؟ معرفی Husky.Net</span>
- Comming soon
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated | |
---|---|---|---|
0.7.2 | 34,453 | 12/6/2024 | |
0.7.1 | 262,154 | 8/13/2024 | |
0.7.0 | 151,108 | 6/16/2024 | |
0.6.5 | 97,823 | 5/10/2024 | |
0.6.4 | 499,588 | 12/17/2023 | |
0.6.3 | 175,583 | 11/16/2023 | |
0.6.2 | 159,524 | 9/19/2023 | |
0.6.1 | 56,509 | 9/2/2023 | |
0.6.1-test1 | 810 | 9/19/2023 | |
0.6.0 | 11,617 | 8/29/2023 | |
0.6.0-Preview4 | 1,012 | 6/8/2023 | |
0.6.0-Preview2 | 1,052 | 4/17/2023 | |
0.6.0-Preview1 | 1,159 | 2/26/2023 | |
0.5.4 | 418,100 | 1/7/2023 | |
0.5.4-preview2 | 1,146 | 1/7/2023 | |
0.5.4-preview1 | 15,527 | 12/2/2022 | |
0.5.2 | 83,923 | 10/8/2022 | |
0.5.1 | 158,325 | 8/1/2022 | |
0.5.0 | 1,580 | 7/30/2022 | |
0.4.4 | 99,293 | 5/18/2022 | |
0.4.2 | 48,187 | 3/9/2022 | |
0.4.1 | 1,254 | 3/9/2022 | |
0.4.0 | 41,981 | 1/31/2022 | |
0.4.0-preview-4 | 1,073 | 1/29/2022 | |
0.4.0-preview-3 | 1,123 | 1/28/2022 | |
0.3.2 | 7,264 | 1/15/2022 | |
0.3.1 | 1,516 | 1/11/2022 | |
0.3.0 | 62,783 | 1/5/2022 | |
0.2.2 | 1,614 | 1/3/2022 | |
0.2.1 | 1,206 | 12/31/2021 | |
0.2.0 | 2,155 | 12/30/2021 | |
0.1.2 | 1,231 | 12/29/2021 | |
0.1.1 | 1,193 | 12/28/2021 | |
0.0.9 | 1,221 | 12/28/2021 | |
0.0.8 | 1,069 | 12/27/2021 | |
0.0.7 | 1,154 | 12/27/2021 |