GoLang Template Linter and Formatter

djLint is a GoLang template linter and a GoLang template formatter! Take advantage of the pre-build profile when linting and formatting your templates with djLint.

What is GoLang?

Using the Command Line

djlint /path/to/templates --profile=golang

Or, Use a Config File

Configure djLint in your projects pyproject.toml.

[tool.djlint]
profile="golang"
Edit this page Updated Jun 30, 2022