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.


djlint supports the following config files:

  • .djlintrc

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info. Trunk check provides a default .djlintrc if your project does not already have one.

Last updated