✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
GNU General Public License v3.0
686
stars
84
forks
source link
[BUG] [Linter] H006 false positive when width, height set via CSS class #821
Open
OscarVanL opened 7 months ago
System Info
python --version
) 3.9.17djlint --version
) 1.34.1Issue
There is a false positive for H006:
Img tag should have height and width attributes
when these are set via a CSS class.How To Reproduce
Style an image's size via a CSS tag:
The linter will fail with H006 incorrectly.
Contents of .djlintrc/pyproject.toml [tool.djlint]