Skip to main content

require-bugs

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

Example .npmpackagejsonlintrc configuration

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

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
"bugs": {
"url": "https://github.com/tclindner/npm-package-json-lint/issues"
}
}

History

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