- id: blockwatch
name: blockwatch
description: Validate <block> rules on staged changes (pipes the staged diff into blockwatch).
entry: bash -c 'set -o pipefail; git diff --cached --patch --unified=0 | blockwatch --diff --only-changed'
language: rust
pass_filenames: false
stages: [ pre-commit ]