Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 570 Bytes

require-homepage.md

File metadata and controls

39 lines (28 loc) · 570 Bytes
id title
require-homepage
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