Skip to main content

require-man

Enabling this rule will result in an error being generated if man is missing from the package.json file.

Example .npmpackagejsonlintrc configuration

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

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
"man": "./man/doc.1"
}

History

  • Introduced in version 1.0.0