Update Husky.Net info (#13883)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
David De Sloovereandfisker Cheung authored and GitHub committed 2022-12-15 14:50:24 +08:00
1 parent 521de3bf4d
commit df1f6ad1ac
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -66,9 +66,10 @@ Read more at [mirror of prettier package for pre-commit](https://github.com/pre-
**Use Case:** A dotnet solution to use Prettier along with other code quality tools (e.g. dotnet-format, ESLint, Stylelint, etc.). It supports multiple file states (staged - last-commit, git-files etc.)
```bash
dotnet new tool-manifest
dotnet tool install husky
dotnet husky install
dotnet husky add .husky/pre-commit
dotnet husky add pre-commit
```
after installation you can add prettier task to the `task-runner.json`.