title | description | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Trunk | How to run djlint |
djlint is a linter for HTML Templates |
|
djlint is a linter for HTML Templates.
You can enable the djlint linter with:
trunk check enable djlint
djlint will be auto-enabled if a .djlintrc
config file is present.
djlint supports the following config files:
.djlintrc
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info. Trunk Code Quality provides a default .djlintrc
if your project does not already have one.
- djlint site
- djlint Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo