Move haml-lint from hound to reviewdog

We can somewhat easily get it passing and integrate nice with reviewdog
by adding a TODO file for the rules that we had enabled, so that we
don't need to correct anything now, but we still get alerted for new
offenses. So I say let's keep it and enforce it from now on.
This commit is contained in:
David Rodríguez
2025-10-30 10:25:15 +01:00
parent 43da235d15
commit 8f07ee5bf7
6 changed files with 179 additions and 26 deletions

View File

@@ -39,4 +39,18 @@ bundle exec rubocop \
rubocop=$?
! (( prettier || rubocop ))
echo "::group:: Running haml-lint with reviewdog 🐶 ..."
bundle exec haml-lint \
--fail-level warning \
| reviewdog -f="haml-lint" \
-name="haml-lint" \
-reporter="github-pr-check" \
-filter-mode="nofilter" \
-level="error" \
-fail-level="any" \
-tee
haml_lint=$?
! (( prettier || rubocop || haml_lint ))