djLint

✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang

GPL-3.0 License

Downloads
518.9K
Stars
677
Committers
42

Bot releases are visible (Hide)

djLint - v1.11.0

Published by christopherpickering about 2 years ago

1.11.0 (2022-08-18)

Features

  • jinja call: added support for jinja call blocks (7a70e39), closes #337
djLint - v1.10.0

Published by christopherpickering about 2 years ago

1.10.0 (2022-08-17)

Features

  • linter: updated rule 18 to allow "tel:" (f08e3ac), closes #334
djLint - v1.9.5

Published by christopherpickering about 2 years ago

1.9.5 (2022-08-16)

Bug Fixes

  • formatter: fix IndexError while adding indentation to attributes (a3ccc19), closes #290
djLint - v1.9.4

Published by christopherpickering about 2 years ago

1.9.4 (2022-08-02)

Bug Fixes

  • requirements: removed optional deps from requirements section. Cleaned up tox (237e844), closes #322
djLint - v1.9.3

Published by christopherpickering about 2 years ago

1.9.3 (2022-08-01)

Bug Fixes

  • formatter: fix to prevent formatter from breaking malformed attribute tags (80263b2), closes #317
  • linter: disabling linter rules should not disable formatting (69ef16a), closes #316
djLint - v1.9.2

Published by christopherpickering about 2 years ago

1.9.2 (2022-07-29)

Bug Fixes

  • t027: fixed test and regression in T027 (6f84539), closes #141
djLint - v1.9.1

Published by christopherpickering about 2 years ago

1.9.1 (2022-07-28)

Bug Fixes

  • formatter: fixed greedy regex issue when finding script and style tags (ca7ff3a)
djLint - v1.9.0

Published by christopherpickering about 2 years ago

1.9.0 (2022-07-28)

Features

  • formatter: added options to format css and js using jsbeautifier (99b5ee2)
djLint - v1.8.1

Published by christopherpickering about 2 years ago

1.8.1 (2022-07-28)

Bug Fixes

  • indent: fixed bad indent on short blocks (7e4ac76), closes #309
djLint - v1.8.0

Published by christopherpickering about 2 years ago

1.8.0 (2022-07-28)

Features

  • formatter: added option to add blank line before tags (b2bd1ea), closes #307
djLint - v1.7.4

Published by christopherpickering about 2 years ago

1.7.4 (2022-07-26)

Bug Fixes

  • linter: fixed false positive on T027 (946b8ad), closes #301
djLint - v1.7.3

Published by christopherpickering about 2 years ago

1.7.3 (2022-07-26)

Bug Fixes

  • preserve blank lines: fixed duplicate blank lines being inserted after h-space, (9ed3393), closes #300
djLint - v1.7.2

Published by christopherpickering about 2 years ago

1.7.2 (2022-07-25)

Bug Fixes

  • white space: prevent duplicate blank lines from being added (67306b4), closes #297
djLint - v1.7.1

Published by christopherpickering about 2 years ago

1.7.1 (2022-07-22)

Bug Fixes

  • linter: fix false positive on rule T001 (f38328c), closes #292
  • twig: fixed indent issue with comments. Added test (47ef81f), closes #290
djLint - v1.7.0

Published by christopherpickering over 2 years ago

1.7.0 (2022-07-08)

Bug Fixes

  • git bash: fixes char encoding on windows git bash (3ef7c16), closes #275

Features

  • linter: added per-file-ignores as a config option for linter rules (c709efd), closes #107
djLint - v1.6.0

Published by christopherpickering over 2 years ago

1.6.0 (2022-07-06)

Features

djLint - v1.5.0

Published by christopherpickering over 2 years ago

1.5.0 (2022-07-06)

Bug Fixes

  • h026: fixes rule H026 for cases where id/class are part of another string (611b1fa), closes #281

Features

djLint - v1.4.0

Published by christopherpickering over 2 years ago

1.4.0 (2022-07-05)

Features

  • ignore rules: added option to ignore linter rules with inline comments (1b3159f), closes #113
djLint - v1.3.0

Published by christopherpickering over 2 years ago

1.3.0 (2022-06-30)

Bug Fixes

  • h025: fixes rule H025 where tags have curly hash (e4fe62f), closes #270

Features

  • new option: added option to attempt to keep blank lines in templates (bbcf54a), closes #261
djLint - v1.2.1

Published by christopherpickering over 2 years ago

1.2.1 (2022-06-21)

Bug Fixes

  • curly hash comment: fix formatting on curly hash comment blocks (4dc2140), closes #265