Aller au contenu

Linter de templates Angular

djLint linte les templates Angular. Utilisez le profil angular pour adapter les règles à ces templates.

Qu’est-ce qu’Angular ?

Fenêtre de terminal
djlint /path/to/templates --profile=angular

Configurez djLint dans le fichier pyproject.toml, djlint.toml / .djlint.toml ou .djlintrc de votre projet.

pyproject.toml
[tool.djlint]
profile = "angular"
djlint.toml / .djlint.toml
profile = "angular"
.djlintrc
{ "profile": "angular" }