djLint is a handlebars template linter and a handlebars template formatter! Take advantage of the pre-build profile when linting and formatting your templates with djLint.
djlint /path/to/templates --profile=handlebars
Configure djLint in your projects pyproject.toml
.
[tool.djlint]
profile="handlebars"