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 hidden (Show)

djLint - v1.19.3

Published by christopherpickering almost 2 years ago

1.19.3 (2022-10-25)

Bug Fixes

  • formatter: fixed poor formatting on long inline blocks (62a8879), closes #432
djLint - v1.19.2

Published by christopherpickering almost 2 years ago

1.19.2 (2022-10-21)

Bug Fixes

  • windows+py3.9: fixed an issue on windows with py3.9 and stdin (280e1fc)
djLint - v1.19.1

Published by christopherpickering about 2 years ago

1.19.1 (2022-10-13)

Bug Fixes

  • formatter: fixed indent on inline block followed by inline template block (4a0bee6), closes #425
djLint - v1.19.0

Published by christopherpickering about 2 years ago

1.19.0 (2022-10-12)

Bug Fixes

  • formatter: fixed formatting on nested inline comments (a86df43), closes #423

Features

  • configuration: allow local configuration to override global config (b4cbcb4), closes #422
djLint - v1.18.0

Published by christopherpickering about 2 years ago

1.18.0 (2022-09-26)

Features

  • quiet: updated output of the --quiet flag to reduce unneeded verbose stuff (b53f670)
djLint - v1.17.3

Published by christopherpickering about 2 years ago

1.17.3 (2022-09-26)

Bug Fixes

  • linter: fixed false positive on H017. Added test (17ff881), closes #406
  • linter: fixed false positive on T002. Added tests (67e8c64), closes #405
djLint - v1.17.2

Published by christopherpickering about 2 years ago

1.17.2 (2022-09-22)

Bug Fixes

  • formatter: fixed issue with blank links added between blocks (31161ce), closes #402
djLint - v1.17.1

Published by christopherpickering about 2 years ago

1.17.1 (2022-09-21)

Bug Fixes

  • formatter: fixed poor indentation on span tags with leading text (8f36fec), closes #398
  • t002: fixed false positive in t002. Added test (e23ee46), closes #399
djLint - v1.17.0

Published by christopherpickering about 2 years ago

1.17.0 (2022-09-20)

Features

  • stats: moved linter stats to be appended to lint output (90f023d), closes #396
djLint - v1.16.0

Published by christopherpickering about 2 years ago

1.16.0 (2022-09-19)

Bug Fixes

Features

  • linter: added --statistics flag to print summary of linter findings (489decb), closes #389
djLint - v1.15.0

Published by christopherpickering about 2 years ago

1.15.0 (2022-09-16)

Bug Fixes

  • formatter: fixed formatting of repeating inline tags (d31ce52), closes #387

Features

  • linter t034: added linter T034 to check for {% ... }% typo (ecb95bb), closes #385
  • linter: t002 added a few more tags to the check (532c5b8), closes #386
djLint - v1.14.2

Published by christopherpickering about 2 years ago

1.14.2 (2022-09-15)

Bug Fixes

  • span: fixed indent on nested inline tags on a span (4ac5fd0), closes #383
djLint - v1.14.1

Published by christopherpickering about 2 years ago

1.14.1 (2022-09-14)

Bug Fixes

  • alpine js: fix incorrect indent on alpinejs attribs w/ nested HTML (f0d37a5), closes #381
djLint - v1.14.0

Published by christopherpickering about 2 years ago

1.14.0 (2022-09-12)

Features

  • config: allow source files to be specified in the config file (bbcde2b), closes #371
djLint - v1.13.0

Published by christopherpickering about 2 years ago

1.13.0 (2022-09-12)

Features

  • config: added option for custom configuration file path (83297bd), closes #170
  • windows: added a better progress bar char for windows (3cdb7a7), closes #286
djLint - v1.12.3

Published by christopherpickering about 2 years ago

1.12.3 (2022-09-07)

Bug Fixes

  • cssbeautify: added support for ignore in cssbeautifier (8a3c60c)
  • js formatting: added support for jsbeautify ignore blocks (b8bf071), closes #367
djLint - v1.12.2

Published by christopherpickering about 2 years ago

1.12.2 (2022-09-07)

Bug Fixes

  • release: trigger a release to remove the print statment (fdb65c9)
djLint - v1.12.1

Published by christopherpickering about 2 years ago

1.12.1 (2022-08-30)

Bug Fixes

  • macro: allow html tags inside macro functions to skip formatting (bffb093), closes #353
  • t001: fixed false positive on T001 with Jinja {{- and {{+ tags (c57e944), closes #354
djLint - v1.12.0

Published by christopherpickering about 2 years ago

1.12.0 (2022-08-24)

Bug Fixes

  • h006: prevented false positives on H006 (215bd23), closes #344 #333
  • h012: prevent H012 from matching the contents of tags or attributes (4480cff), closes #348
  • t001: fixed false positive on multiline template tags (ea76672), closes #350

Features

  • h021: allow inline styles that contain template syntax (f1a39ed), closes #351
  • t002: allow variables names to be used in the {% extends tag (a5d96e7), closes #349
djLint - v1.11.1

Published by christopherpickering about 2 years ago

1.11.1 (2022-08-22)

Bug Fixes

  • formatter: fixed runaway regex on templates with many template attriutes inside html tags (79cd013), closes #340
  • linter: fixed false positive on T032 with jinja multi line set (f9dac86), closes #342
  • linter: fixed false postive on rule H008 (79618a5), closes #339
  • linter: prevent linter matches that overlap ignored blocks of code such as comments (90cf576), closes #343