35 lines
591 B
JSON
35 lines
591 B
JSON
|
{
|
||
|
"tasks": [
|
||
|
{
|
||
|
"name": "dotnet-format",
|
||
|
"group": "pre-commit",
|
||
|
"command": "dotnet",
|
||
|
"args": [
|
||
|
"dotnet-format",
|
||
|
"--include",
|
||
|
"${staged}"
|
||
|
],
|
||
|
"include": [
|
||
|
"**/*.cs",
|
||
|
"**/*.vb"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "Run JB Clean Up Code",
|
||
|
"group": "pre-commit",
|
||
|
"command": "dotnet",
|
||
|
"pathMode": "relative",
|
||
|
"args": [
|
||
|
"jb",
|
||
|
"cleanupcode",
|
||
|
"INetMock.sln",
|
||
|
"--telemetry-optout"
|
||
|
],
|
||
|
"include": [
|
||
|
"**/*.cs",
|
||
|
"**/*.vb"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|