valid-homepage
💼 This rule is enabled in the following configs: ✔️ legacy-recommended, ✅ recommended, 📦 recommended-publishable.
This rule does the following checks on the value of the homepage property:
- It must be a
string - The value should be a valid URL
Example of incorrect code for this rule:
{ "homepage": "trent@nin.com"}Example of correct code for this rule:
{ "homepage": "https://nin.com"}