Linter und Formatter für Handlebars-Templates

djLint lintet und formatiert Handlebars-Templates. Setzen Sie das Profil handlebars, damit Regeln und Formatierung zu ihnen passen.

Was ist Handlebars?

Über die Befehlszeile

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

Oder über eine Konfigurationsdatei

Konfigurieren Sie djLint in der Datei pyproject.toml, djlint.toml / .djlint.toml oder .djlintrc Ihres Projekts.

[tool.djlint]
profile = "handlebars"
profile = "handlebars"
{ "profile": "handlebars" }