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.23.2

Published by christopherpickering over 1 year ago

1.23.2 (2023-04-19)

Bug Fixes

  • blocktrans: fix issue with back to back blocktrans formatting (703e176), closes #600
djLint - v1.23.1

Published by christopherpickering over 1 year ago

1.23.1 (2023-04-18)

Bug Fixes

  • yaml: fixed conflict with yaml and preserve_blank_lines option (b89fb07), closes #596
djLint - v1.23.0

Published by christopherpickering over 1 year ago

1.23.0 (2023-04-13)

Features

  • formatter: will now attempt to fix case on known html tags by default, can be disabled (fb1f6eb), closes #589
djLint - v1.22.0

Published by christopherpickering over 1 year ago

1.22.0 (2023-04-12)

Features

  • whitespace: improved whitespace handling on tag closing bracket (53d9b29), closes #582
djLint - v1.21.0

Published by christopherpickering over 1 year ago

1.21.0 (2023-04-12)

Features

  • linter: added rule H036. Avoid use of tags. Disabled by default (cefa840), closes #571
djLint - v1.20.0

Published by christopherpickering over 1 year ago

1.20.0 (2023-04-12)

Features

  • linter: added option to disable rules by default. Split H017 and disabled by default (2dd3675), closes #372
  • yaml: added line break after yaml front matter (1b1cff3), closes #584
djLint - v1.19.17

Published by christopherpickering over 1 year ago

1.19.17 (2023-04-05)

Bug Fixes

  • blocktrans: allowed closing transblocks to be indented if they have a leading space (d667273)
  • custom tags: fixed issue where end tag for custom block was not de-indented (fb8bf5e), closes #572
  • ignored code: fixed formatting of ignore code inside django comment blocks (120460d), closes #569
  • linter: linter will now ignore {% raw %} {% endraw %} blocks (2a6865e), closes #539
  • max line length: fixes issues around max line length not fully respected on indented lines (1ec6b29), closes #580
  • preserving space: misc improvements for the preserve leading space option (03ee6f0), closes #566
djLint - v1.19.16

Published by christopherpickering over 1 year ago

1.19.16 (2023-02-27)

Bug Fixes

  • ignored rules: prevent ignoring a single rule from ignoring multiple (2c9caaf), closes #560
djLint - v1.19.15

Published by christopherpickering over 1 year ago

1.19.15 (2023-02-20)

Bug Fixes

  • formatter: fixed template tag formatting with trailing parenthesis (24d0b82), closes #554
djLint - v1.19.14

Published by christopherpickering over 1 year ago

1.19.14 (2023-02-07)

Bug Fixes

  • config: added error message print when config loading fails (e21fa29), closes #531
djLint - v1.19.13

Published by christopherpickering over 1 year ago

1.19.13 (2023-01-23)

Bug Fixes

  • handlebars each: fixed bug in handlebars tags w/ trailing pipe (9d42baf), closes #529
djLint - v1.19.12

Published by christopherpickering over 1 year ago

1.19.12 (2023-01-19)

Bug Fixes

  • docs: fixed doc build (749ec05)
  • formatter: preserve windows line endings (7c0a272), closes #502
djLint - v1.19.11

Published by christopherpickering almost 2 years ago

1.19.11 (2023-01-04)

Bug Fixes

  • linter: fixes false positive on D018 (ebd099f), closes #501
djLint - v1.19.10

Published by christopherpickering almost 2 years ago

1.19.10 (2022-12-26)

Bug Fixes

  • check: fixed issue where check was reformatting files that contained a hyphen in the name (9812f60), closes #494
djLint - v1.19.9

Published by christopherpickering almost 2 years ago

1.19.9 (2022-12-16)

Bug Fixes

  • stdin --check: stdin with the --check flag should return a formatted output (57e1eec), closes #486
djLint - v1.19.8

Published by christopherpickering almost 2 years ago

1.19.8 (2022-12-15)

Bug Fixes

  • attributes: fixed outer quotes being stripped from attribute values (dff02dc), closes #471
  • settings: fixed pyproject loader (5890161), closes #469
  • textarea: fixed textarea attribute formatting (e7c904e), closes #486
djLint - v1.19.7

Published by christopherpickering almost 2 years ago

1.19.7 (2022-11-09)

Bug Fixes

  • formatter: fixed a few broken alpinejs attributes (6c2d843), closes #448
djLint - v1.19.6

Published by christopherpickering almost 2 years ago

1.19.6 (2022-11-08)

Bug Fixes

  • css/js: fixed extra blank lines being appended to blank lines in css/js formatter (10e593f), closes #451
djLint - v1.19.5

Published by christopherpickering almost 2 years ago

1.19.5 (2022-11-07)

Bug Fixes

  • linter: make attribute pattern on H025 more accepting. Prevent false positive (1bd0bf7), closes #447
djLint - v1.19.4

Published by christopherpickering almost 2 years ago

1.19.4 (2022-11-03)

Bug Fixes

  • attributes: fixed poor django attribute parsing (bd90f08), closes #427 #438
  • attributes: prevented attribute indentation for url type attributes (907a1bf), closes #320 #86 #195
  • image tag: added image tag to template break tag list. srcset formatting (0d170aa), closes #444