mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
- Handle Windows paths with forward slashes (C:/Users/username) - Support case-insensitive Windows drive letters (c:\ vs C:\) - Fix multiple home directory pattern replacement using single regex - Add comprehensive tests for all edge cases - Update JSDoc comments with proper formatting
23 lines
No EOL
589 B
Bash
Executable file
23 lines
No EOL
589 B
Bash
Executable file
#!/bin/bash
|
|
# Run format and lint fixes sequentially to avoid file conflicts
|
|
# Based on best practices to prevent race conditions
|
|
|
|
echo "🔧 Running format and lint fixes sequentially..."
|
|
|
|
# Run format first
|
|
echo "📝 Formatting code..."
|
|
if ! pnpm run format; then
|
|
echo "❌ Format failed"
|
|
exit 1
|
|
fi
|
|
echo "✅ Format completed"
|
|
|
|
# Then run lint fix (Biome will skip formatting rules already handled)
|
|
echo "🔎 Running lint fix..."
|
|
if ! pnpm run lint:fix; then
|
|
echo "❌ Lint fix failed"
|
|
exit 1
|
|
fi
|
|
echo "✅ Lint fix completed"
|
|
|
|
echo "✅ All fixes applied successfully!" |