@hint/hint-apple-touch-icons
Version:
hint for best practices related to the apple-touch-icons
51 lines (50 loc) • 2.24 kB
JSON
{
"couldNotBeFetch": {
"description": "Message to show when the icon request fail",
"message": "The 'apple-touch-icon' could not be fetched (request failed)."
},
"couldNotBeFetchErrorStatusCode": {
"description": "Message to show when the icon request fail",
"message": "The 'apple-touch-icon' could not be fetched (status code: $1)."
},
"description": {
"description": "Metadata description",
"message": "Require an 'apple-touch-icon'"
},
"elementDuplicated": {
"description": "Message to show when the 'apple-touch-icon' element is duplicated",
"message": "The 'apple-touch-icon' link element is not needed as one was already specified."
},
"elementNotInHead": {
"description": "Message to show when the element is not in the head",
"message": "The 'apple-touch-icon' link element should be specified in the '<head>'."
},
"invalidPNG": {
"description": "Message to show when the icon is an invalid PNG",
"message": "The 'apple-touch-icon' should be a valid PNG image."
},
"name": {
"description": "Metadata name",
"message": "Use Apple touch icon"
},
"noElement": {
"description": "Message to show when a link element doesn't exist",
"message": "The 'apple-touch-icon' link element was not specified."
},
"noEmptyHref": {
"description": "Message to show when a link element has an href empty",
"message": "The 'apple-touch-icon' link element should have a non-empty 'href' attribute."
},
"shouldBePNG": {
"description": "Message to show when the icon is not a PNG",
"message": "The 'apple-touch-icon' should be a PNG image."
},
"wrongRelAttribute": {
"description": "Message to show when the rel attribute is not the right one",
"message": "The 'apple-touch-icon' link element should have 'rel=\"apple-touch-icon\"'."
},
"wrongResolution": {
"description": "Message to show when the icon doesn't have a recommended resolution",
"message": "The 'apple-touch-icon' size is not recommended. Size should be 120x120, 152x152, 167x167, or 180x180."
}
}