id | title |
---|---|
homepage-type |
homepage-type |
Enabling this rule will result in an error being generated if the value in homepage
is not a string.
{
"rules": {
"homepage-type": "error"
}
}
{
"homepage": 1
}
{
"homepage": ["https://github.com/tclindner/npm-package-json-lint"]
}
{
"homepage": {
"url": "https://github.com/tclindner/npm-package-json-lint"
}
}
{
"homepage": "https://github.com/tclindner/npm-package-json-lint"
}
- Introduced in version 0.1.0