Angular 模板代码检查工具
djLint 可以检查 Angular 模板。设置 angular 预设,让规则适合这类模板。
djlint /path/to/templates --profile=angular在配置文件中
Section titled “在配置文件中”在项目的 pyproject.toml、djlint.toml / .djlint.toml 或 .djlintrc 文件中配置 djLint。
[tool.djlint]profile = "angular"profile = "angular"{ "profile": "angular" }