PkmnLib.NET/.husky/task-runner.json

32 lines
678 B
JSON

{
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
"tasks": [
{
"name": "Run Tests",
"group": "pre-push",
"command": "dotnet",
"args": [
"test",
"PkmnLib.Tests/PkmnLib.Tests.csproj",
"--verbosity",
"minimal"
]
},
{
"name": "JB Code Style",
"group": "pre-commit",
"command": "dotnet",
"pathMode": "relative",
"filteringRule": "staged",
"args": [
"jb",
"cleanupcode",
"PkmnLib.NET.sln",
"--profile=Built-in: Reformat & Apply Syntax Style",
"--include=${args}"
],
"include": ["**/*.cs"]
}
]
}