Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
28 lines
733 B
JSON
28 lines
733 B
JSON
{
|
|
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
|
|
"tasks": [
|
|
{
|
|
"name": "welcome-message-example",
|
|
"command": "bash",
|
|
"args": [ "-c", "echo Husky.Net is awesome!" ],
|
|
"windows": {
|
|
"command": "cmd",
|
|
"args": ["/c", "echo Husky.Net is awesome!" ]
|
|
}
|
|
},
|
|
{
|
|
"name": "csharpier-install",
|
|
"group": "pre-commit",
|
|
"command": "dotnet",
|
|
"args": [ "tool", "install", "csharpier" ]
|
|
},
|
|
{
|
|
"name": "csharpier-fotmat",
|
|
"group": "pre-commit",
|
|
"command": "dotnet",
|
|
"args": [ "csharpier", "format", "${staged}" ],
|
|
"include": [ "**/*.cs" ]
|
|
}
|
|
]
|
|
}
|