mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-18 10:01:06 +00:00
updated version
This commit is contained in:
parent
7c1b2ebcf8
commit
93dc01f875
4 changed files with 8 additions and 3 deletions
|
|
@ -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 ---------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>"]
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue