Linter und Formatter für Tera-Templates
djLint lintet und formatiert Tera-Templates. Setzen Sie das Profil tera, damit Regeln und Formatierung zu ihnen passen.
Über die Befehlszeile
djlint /path/to/templates --profile=tera
Oder über eine Konfigurationsdatei
Konfigurieren Sie djLint in der Datei pyproject.toml, djlint.toml / .djlint.toml oder .djlintrc Ihres Projekts.
[tool.djlint]
profile = "tera"
profile = "tera"
{ "profile": "tera" }