chore: fix husky

This commit is contained in:
sam 2024-10-02 00:16:20 +02:00
parent 06f7019330
commit 5fab66444f
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
4 changed files with 9 additions and 16 deletions

View file

@ -4,9 +4,7 @@
"tools": {
"husky": {
"version": "0.7.1",
"commands": [
"husky"
],
"commands": ["husky"],
"rollForward": false
}
}

View file

@ -4,18 +4,13 @@
{
"name": "run-prettier",
"command": "yarn",
"args": [
"format",
"${staged}"
],
"args": ["format"],
"pathMode": "absolute"
},
{
"name": "dotnet-format",
"command": "dotnet",
"args": [
"format"
]
"args": ["format"]
}
]
}

View file

@ -4,6 +4,6 @@
},
"scripts": {
"dev": "concurrently -n .net,node,rate -c magenta,yellow,blue -i 'cd Foxnouns.Backend && dotnet watch --no-hot-reload' 'cd Foxnouns.Frontend && yarn dev' 'cd rate && go run -v .'",
"format": "cd frontend && yarn format -w"
"format": "cd Foxnouns.Frontend && yarn format"
}
}