Open
Description
Currently, when running the tool on a page that uses the brand-new sizes=auto
syntax, RespImageLint complains,
The
sizes
attribute has to match the width of the image
The size of the image doesn’t match thesizes
attributeauto
At a minimum, auto
should be an allowed sizes
value. A better solution would check that images with sizes=auto
were also lazy-loaded, and had an extrinsic width + height, showing informative errors/warnings if not.