Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix part of #3000 : TODO Integrate Buildifier Linter into Pre-push Checks #5674

Merged
4 changes: 2 additions & 2 deletions scripts/pre-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ source scripts/formatting.sh
# - ktlint
# - checkstyle
# - buf
# - buildifier
# - (others in the future)

if bash scripts/ktlint_lint_check.sh && bash scripts/checkstyle_lint_check.sh && bash scripts/buf_lint_check.sh ; then
if bash scripts/ktlint_lint_check.sh && bash scripts/checkstyle_lint_check.sh && bash scripts/buf_lint_check.sh && bash scripts/buildifier_lint_check.sh; then
echo_success "All checks passed successfully"
exit 0
else
exit 1
fi

# TODO(#3000): Add Bazel Linter to the project
# TODO(#970): Add XML Linter to the project
Loading