Linter e formattatore per template Mustache
djLint analizza e formatta i template Mustache. Imposta il profilo handlebars per adattare le regole e la formattazione a questi template.
Uso dalla riga di comando
djlint /path/to/templates --profile=handlebars
Oppure usa un file di configurazione
Configura djLint nel file pyproject.toml, djlint.toml / .djlint.toml o .djlintrc del tuo progetto.
[tool.djlint]
profile = "handlebars"
profile = "handlebars"
{ "profile": "handlebars" }