Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add djhtml to format HTML templates #164

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Add djhtml to format HTML templates #164

merged 2 commits into from
Mar 26, 2024

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Mar 12, 2024

Add djhtml to the pre-commit hook to enforce consistent indenting in our templates.

This replaces my previous attempt with djlint #162

Diffs to the template files are whitespace only: https://github.com/ministryofjustice/find-moj-data/pull/164/files?diff=split&w=1

@MatMoore MatMoore marked this pull request as ready for review March 12, 2024 15:26
@MatMoore MatMoore merged commit fd0d237 into main Mar 26, 2024
3 of 4 checks passed
@MatMoore MatMoore deleted the template-formatter branch March 26, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants