Skip to main content
djlint is a linter for HTML Templates. You can enable the djlint linter with:
trunk check enable djlint

Auto Enabling

djlint will be auto-enabled if a .djlintrc config file is present.

Settings

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.