Linter i formater szablonów Mustache

djLint lintuje i formatuje szablony Mustache. Ustaw profil handlebars, aby reguły i formatowanie były do nich dopasowane.

Czym jest Mustache?

Z wiersza poleceń

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

Lub w pliku konfiguracyjnym

Skonfiguruj djLint w pliku pyproject.toml, djlint.toml / .djlint.toml lub .djlintrc swojego projektu.

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