Linter i formater szablonów Handlebars

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

Czym jest Handlebars?

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" }