fetch vale styles in nix, pinned, and drop vale sync
This commit is contained in:
parent
1971c6773a
commit
9ed7ebab91
1 changed files with 90 additions and 20 deletions
|
|
@ -45,5 +45,11 @@ if ! sh "$repo_root/scripts/check-dashboard-service-names.sh"; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "pre-push: running prose lint (vale)..." >&2
|
||||
if ! (cd "$repo_root" && nix run --inputs-from . .#vale -- docs); then
|
||||
echo "pre-push: prose lint FAILED — fix before pushing" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "pre-push: lints passed ✓" >&2
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue