aboutsummaryrefslogtreecommitdiffstats
path: root/bin/lint
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lint')
-rw-r--r--bin/lint8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/lint b/bin/lint
index ffb49b35..e31fd7b6 100644
--- a/bin/lint
+++ b/bin/lint
@@ -28,3 +28,11 @@ else
echo $'\n🛠️ dotnet format --verbosity normal\n'
dotnet format --verbosity normal
fi
+
+if [ "$fix" == false ]; then
+ echo $'\n🛠️ npm run lint\n'
+ (cd src/web && npm run lint)
+else
+ echo $'\n🛠️ npm run lint:fix\n'
+ (cd src/web && npm run lint:fix)
+fi