Linter i formater szablonów Tera
djLint lintuje i formatuje szablony Tera. Ustaw profil tera, aby reguły i formatowanie były do nich dopasowane.
Z wiersza poleceń
djlint /path/to/templates --profile=tera
Lub w pliku konfiguracyjnym
Skonfiguruj djLint w pliku pyproject.toml, djlint.toml / .djlint.toml lub .djlintrc swojego projektu.
[tool.djlint]
profile = "tera"
profile = "tera"
{ "profile": "tera" }