2024-10-01 22:35:17 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"name": "run-prettier",
|
2025-04-17 15:03:38 +02:00
|
|
|
"command": "npx",
|
|
|
|
"args": ["prettier", "-w", "${staged}"],
|
2024-12-18 02:31:09 +01:00
|
|
|
"include": [
|
|
|
|
"Foxnouns.Frontend/**/*.ts",
|
|
|
|
"Foxnouns.Frontend/**/*.json",
|
|
|
|
"Foxnouns.Frontend/**/*.scss",
|
|
|
|
"Foxnouns.Frontend/**/*.js",
|
|
|
|
"Foxnouns.Frontend/**/*.svelte"
|
|
|
|
],
|
|
|
|
"cwd": "Foxnouns.Frontend/",
|
2024-10-01 22:35:17 +02:00
|
|
|
"pathMode": "absolute"
|
|
|
|
},
|
|
|
|
{
|
2024-10-02 00:28:07 +02:00
|
|
|
"name": "run-csharpier",
|
2024-10-01 22:35:17 +02:00
|
|
|
"command": "dotnet",
|
2025-04-17 15:03:38 +02:00
|
|
|
"args": ["csharpier", "${staged}"],
|
|
|
|
"include": ["**/*.cs"]
|
2024-10-01 22:35:17 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|