vibetunnel/web/scripts/check-fix-sequential.sh
Peter Steinberger f7b725ff17 Fix path formatting issues identified by Claude review
- 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
2025-06-28 15:22:05 +02:00

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!"