djlint
« Back to VersTracker
Description:
Lint & Format HTML Templates
Type: Formula  |  Latest Version: 1.36.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: linting formatting html templates django
Install: brew install djlint
About:
djLint is a specialized tool designed to lint and format HTML templates, particularly those used in Django, Jinja, and Handlebars projects. It enforces consistent code style and catches common errors, improving code readability and maintainability. The tool also offers powerful reformatting capabilities to keep your template files clean and standardized.
Key Features:
  • Linting for common template errors and style violations
  • Reformatting and pretty-printing for consistent indentation
  • Support for Django, Jinja, Handlebars, and Mustache templates
  • Customizable configuration to match project-specific rules
Use Cases:
  • Enforcing a consistent coding style across a team's HTML templates
  • Automatically cleaning up and formatting legacy template files
  • Integrating into CI/CD pipelines to prevent template-related bugs
Alternatives:
  • prettier – Prettier is a general-purpose code formatter, while djLint is specialized for HTML templates with support for specific templating languages like Django/Jinja.
License: GPL-3.0-or-later
Dependencies: libyaml, python@3.14
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Jan 2, 2025 12:55pm 0 VERSION_BUMP 2876d987
Jan 2, 2025 1:10am 0 VERSION_BUMP 2d4a05e7
Oct 30, 2024 4:32pm 0 VERSION_BUMP 8ca86214
Oct 30, 2024 10:27am 0 VERSION_BUMP 3533c61e
Oct 12, 2024 8:50pm 0 VERSION_BUMP d0c4abe0
Oct 12, 2024 3:16pm 0 VERSION_BUMP 9265c8d9
Oct 8, 2024 6:02am 0 VERSION_BUMP 069276fe