updated version

This commit is contained in:
Christopher Pickering 2021-10-07 16:15:47 +02:00
parent 7c1b2ebcf8
commit 93dc01f875
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
4 changed files with 8 additions and 3 deletions

View file

@ -12,7 +12,7 @@
project = "djlint"
copyright = "2021, Riverside Healthcare"
author = "Christopher Pickering"
release = "0.5.5"
release = "0.5.6"
version = release
# -- General configuration ---------------------------------------------------

View file

@ -1,6 +1,11 @@
Changelog
=========
0.5.6
-----
- Added rule H026 to find empty id and class tags
- Bug fixes
0.5.5
-----
- Consolidated settings and slimmed code

View file

@ -7,7 +7,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name="djlint"
version="0.5.5"
version="0.5.6"
description="HTML Template Linter and Formatter"
license="GPL-3.0-or-later"
authors=["Christopher Pickering <cpickering@rhc.net>"]

View file

@ -190,4 +190,4 @@
message: Emtpy id and class tags can be removed.
flags: re.I
patterns:
- <(?:\w+)(?:\s(?:(?:{%[^(?:%}]*?%})|(?:{{[^(?:}})]*?}})|[^<>])*)[(?:id)|(?:class)](?:(?:=(?:\"{2})|(?:'{2}))|\s)
- <(?:\w+)(?:\s(?:(?:{%[^(?:%}]*?%})|(?:{{[^(?:}})]*?}})|[^<>])*)(id|class)(?:(?:=(?:\"{2})|(?:'{2}))|\s)