Update Husky.Net info (#13883)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
521de3bf4d
commit
df1f6ad1ac
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -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`.
|
||||
|
||||
Reference in new issue
Block a user