Skip to content

Commit 997070f

Browse files
committed
fix(lint): don't auto format, let it fail. We will deal with auto-formatting in this pr:
#862
1 parent a2e3afe commit 997070f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,5 @@ jobs:
5353
run: |
5454
echo "Running format check..."
5555
# Use prettier directly to avoid NX git issues
56-
npx prettier --check . || {
57-
echo "Format check failed. Running prettier --write to fix issues..."
58-
npx prettier --write .
59-
echo "Checking again after formatting..."
60-
npx prettier --check . || {
61-
echo "Still failing after auto-format. Manual intervention needed."
62-
exit 1
63-
}
64-
echo "Auto-formatting successful. All files are now properly formatted."
65-
echo "Note: Some files were auto-formatted. Consider committing these changes in your next commit."
66-
}
56+
npx prettier --check .
6757
echo "Format check passed!"

0 commit comments

Comments
 (0)