mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
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:
@@ -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 ))
|
||||
|
||||
Reference in New Issue
Block a user