Linter für Angular-Templates
djLint lintet Angular-Templates. Setzen Sie das Profil angular, damit die Regeln zu ihnen passen.
Über die Befehlszeile
Abschnitt betitelt „Über die Befehlszeile“djlint /path/to/templates --profile=angularIn einer Konfigurationsdatei
Abschnitt betitelt „In einer Konfigurationsdatei“Konfigurieren Sie djLint in der Datei pyproject.toml, djlint.toml / .djlint.toml oder .djlintrc Ihres Projekts.
[tool.djlint]profile = "angular"profile = "angular"{ "profile": "angular" }