chore: add prettier formatting to html

This commit is contained in:
2025-11-10 18:30:07 +13:00
parent 2aded2ddd7
commit 97626337aa
4 changed files with 44 additions and 0 deletions

View File

@ -21,6 +21,15 @@ repos:
- id: ruff-format
types_or: [python, pyi]
- repo: local
hooks:
- id: prettier-jinja-templates
name: Format Jinja templates with Prettier
entry: pnpm exec prettier --plugin=prettier-plugin-jinja-template --parser=jinja-template --write
language: system
types: [file]
files: ^templates/.*\.html$
# - repo: local
# hooks:
# - id: django-check