diff --git a/scripts/hooks/pre-push b/scripts/hooks/pre-push index a2649410b376a762bcaf77d643b60c00f836a694..05e8c0f160d865bad8dfa0632dd801b3d767fb4d 100644 --- a/scripts/hooks/pre-push +++ b/scripts/hooks/pre-push @@ -1,6 +1,6 @@ #!/usr/bin/env bash echo "🔍 Running Detekt..." -./gradlew detekt +./gradlew detekt lintRelease DETEKT_EXIT=$? if [ $DETEKT_EXIT -ne 0 ]; then @@ -8,14 +8,5 @@ if [ $DETEKT_EXIT -ne 0 ]; then exit 1 fi -echo "🔍 Running Lint..." -./gradlew lintRelease -LINT_EXIT=$? - -if [ $LINT_EXIT -ne 0 ]; then - echo "❌ Push rejected: fix Lint issues before pushing." - exit 1 -fi - echo "✅ All checks passed!" exit 0