We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a tag with a style attribute spans multiple lines, rule H021 does not detect the inline style.
Example:
<div style="color:green" class="foo"> </div>
Same example with the whole div tag in one line works.
test.html
djlint test.html
ignore = "H017,H031" indent = 2 quiet = true
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here!
Sorry, something went wrong.
221c31f
chore(release): 1.30.1 [skip ci]
939155c
## [1.30.1](v1.30.0...v1.30.1) (2023-06-02) ### Bug Fixes * **linter:** added missing positive on H021 ([221c31f](221c31f)), closes [#678](#678) * **linter:** fixed false positive on H037 ([3b2e522](3b2e522)), closes [#679](#679)
🎉 This issue has been resolved in version 1.30.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
No branches or pull requests
System Info
Issue
If a tag with a style attribute spans multiple lines, rule H021 does not detect the inline style.
Example:
Same example with the whole div tag in one line works.
How To Reproduce
test.html
with the above example.djlint test.html
lints successfully. Should fail.djlint test.html
fails with rule H021. CorrectContents of .djlintrc/pyproject.toml [tool.djlint]
ignore = "H017,H031"
indent = 2
quiet = true
The text was updated successfully, but these errors were encountered: