You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
terrymun
changed the title
react/no-unknown-property stopped supporting 'imageSrcSet' on <link /> tag
react/no-unknown-property stopped supporting 'imageSrcSet' and imagSizes on <link /> tag
Sep 5, 2022
terrymun
changed the title
react/no-unknown-property stopped supporting 'imageSrcSet' and imagSizes on <link /> tag
react/no-unknown-property stopped supporting imageSrcSet and imagSizes on <link /> tag
Sep 5, 2022
Version 7.31.6 will cause a linting error to be thrown when
imageSrcSet
orimageSizes
are being used in a JSX<link />
element, even though this attribute is perfectly valid: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-imagesrcsetCombing through the rules reveal that these attributes are missing: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/lib/rules/no-unknown-property.js
It is also available in the
LinkHTMLAttributes
type:The text was updated successfully, but these errors were encountered: