Skip to main content

require-homepage

Enabling this rule will result in a warning being generated if homepage is missing from the package.json file.

Example .npmpackagejsonlintrc configuration

{
"rules": {
"require-homepage": "error"
}
}

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
"homepage": "https://github.com/tclindner/npm-package-json-lint"
}

History

  • Renamed from homepage-recommended to require-homepage in version 1.0.0
  • Introduced in version 0.1.0