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
Abschnitt betitelt „Über die Befehlszeile“djlint /path/to/templates --profile=teraIn einer Konfigurationsdatei
Abschnitt betitelt „In einer 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" }