Skip to content

Commit

Permalink
feat: add task-runner schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezanet committed Jun 15, 2024
1 parent c4aa84d commit 83f3666
Show file tree
Hide file tree
Showing 3 changed files with 210 additions and 184 deletions.
10 changes: 2 additions & 8 deletions .husky/task-runner.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
"variables": [
{
"name": "root-dir",
Expand All @@ -12,13 +13,6 @@
"command": "dotnet",
"args": ["husky", "exec", ".husky/csx/commit-lint.csx", "--args", "${args}"]
},
// {
// "name": "dotnet-format",
// "command": "dotnet",
// "group": "pre-commit",
// "args": ["dotnet-format", "--include" , "${staged}"],
// "include": ["**/*.cs"]
// },
{
"name": "update-version",
"command": "dotnet",
Expand All @@ -29,7 +23,7 @@
"pathMode": "absolute",
"command": "cmd",
"group": "pre-commit",
"args": [ "/c", "echo", "${staged}"],
"args": [ "/c", "echo", "${staged}"]
}
]
}
Loading

0 comments on commit 83f3666

Please sign in to comment.