aboutsummaryrefslogtreecommitdiffstats
path: root/bin/lint
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-11-07 23:16:26 -0600
committerGitHub <noreply@github.com>2026-11-07 23:16:26 -0600
commitcefdcd02e28b1f02f546002fdd475de4fa03e839 (patch)
tree95bb26f4ed7b60e3739bcd884966a19be1e9ee07 /bin/lint
parent2b827344d11e7490b323defa898264cadbdb6089 (diff)
parentdbc308d5e408a2e194a0c70a8fc7592f776aaf11 (diff)
downloadslskd-cefdcd02e28b1f02f546002fdd475de4fa03e839.tar.gz
Merge pull request #1913 from slskd/bugs
Fix a random assortment of bugs
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