We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c570665 commit 786e0c6Copy full SHA for 786e0c6
.husky/pre-push
@@ -1,18 +1,6 @@
1
# Check code formatting
2
echo "🔍 Checking code formatting..."
3
-npx nx format:check
4
-
5
-if [ $? -ne 0 ]; then
6
- echo ""
7
- echo "❌ Push blocked: Code is not properly formatted"
8
9
- echo "To fix this:"
10
- echo " 1. Run: npx nx format"
11
- echo " 2. Commit the formatted files"
12
- echo " 3. Push again"
13
14
- exit 1
15
-fi
+npx nx format:check --verbose
16
17
echo "✅ Code formatting check passed"
18
0 commit comments