diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
new file mode 100644
index 0000000..e6df774
--- /dev/null
+++ b/.config/dotnet-tools.json
@@ -0,0 +1,13 @@
+{
+ "version": 1,
+ "isRoot": true,
+ "tools": {
+ "husky": {
+ "version": "0.7.1",
+ "commands": [
+ "husky"
+ ],
+ "rollForward": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100755
index 0000000..fd85d23
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,22 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+## husky task runner examples -------------------
+## Note : for local installation use 'dotnet' prefix. e.g. 'dotnet husky'
+
+## run all tasks
+#husky run
+
+### run all tasks with group: 'group-name'
+#husky run --group group-name
+
+## run task with name: 'task-name'
+#husky run --name task-name
+
+## pass hook arguments to task
+#husky run --args "$1" "$2"
+
+## or put your custom commands -------------------
+#echo 'Husky.Net is awesome!'
+
+dotnet husky run
diff --git a/.husky/task-runner.json b/.husky/task-runner.json
new file mode 100644
index 0000000..bb845ca
--- /dev/null
+++ b/.husky/task-runner.json
@@ -0,0 +1,21 @@
+{
+ "$schema": "https://alirezanet.github.io/Husky.Net/schema.json",
+ "tasks": [
+ {
+ "name": "run-prettier",
+ "command": "yarn",
+ "args": [
+ "format",
+ "${staged}"
+ ],
+ "pathMode": "absolute"
+ },
+ {
+ "name": "dotnet-format",
+ "command": "dotnet",
+ "args": [
+ "format"
+ ]
+ }
+ ]
+}
diff --git a/.idea/.idea.Foxnouns.NET/.idea/jsLinters/eslint.xml b/.idea/.idea.Foxnouns.NET/.idea/jsLinters/eslint.xml
index 204acf7..5f8621e 100644
--- a/.idea/.idea.Foxnouns.NET/.idea/jsLinters/eslint.xml
+++ b/.idea/.idea.Foxnouns.NET/.idea/jsLinters/eslint.xml
@@ -2,5 +2,6 @@
+
\ No newline at end of file
diff --git a/.idea/.idea.Foxnouns.NET/.idea/prettier.xml b/.idea/.idea.Foxnouns.NET/.idea/prettier.xml
index 653a9e0..ffcf89b 100644
--- a/.idea/.idea.Foxnouns.NET/.idea/prettier.xml
+++ b/.idea/.idea.Foxnouns.NET/.idea/prettier.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index da7f5dc..51b5b54 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
"concurrently": "^9.0.1"
},
"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 .'"
+ "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"
}
}