aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-31 20:04:24 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-31 20:04:24 -0500
commitb5d0222e83b3432f966827175b02d0a439adf1b1 (patch)
tree76059c5ab46d12f478be371f187186e937ce3653
parentcbd03ff1adc5d703a2023ae9532b3001542c0c2d (diff)
downloadslskd-b5d0222e83b3432f966827175b02d0a439adf1b1.tar.gz
lint the web project, too
-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