Skip to content

Commit d729a7a

Browse files
committed
Ignore some basic errors
From djlint output: H005 2:0 Html tag should have lang attribute. <html> <head> H016 2:0 Missing title tag in html. <html> <head> H030 2:0 Consider adding a meta description. <html> <head> H031 2:0 Consider adding meta keywords. <html> <head> H006 48:20 Img tag should have height and width attributes. <img src="" /> H013 48:20 Img tag should have an alt attribute. <img src="" /> H025 87:112 Tag seems to be an orphan. </span> Linted 1 file, found 7 errors.
1 parent d285211 commit d729a7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ path = "scripts/npm.py"
100100

101101
[tool.djlint]
102102
profile="jinja"
103+
ignore="H005,H016,H030,H031,H006,H013"

0 commit comments

Comments
 (0)