Skip to content

Angular template linter

djLint lints Angular templates. Set the angular profile so the rules fit them.

What is Angular?

Terminal window
djlint /path/to/templates --profile=angular

Configure djLint in your project’s pyproject.toml, djlint.toml / .djlint.toml, or .djlintrc file.

pyproject.toml
[tool.djlint]
profile = "angular"
djlint.toml / .djlint.toml
profile = "angular"
.djlintrc
{ "profile": "angular" }