Skip to main content

require-contributors

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

Example .npmpackagejsonlintrc configuration

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

Rule Details

Incorrect example(s)

{

}

Correct example(s)

{
"contributors": [
{
"name": "Thomas Lindner"
}
]
}

History

  • Introduced in version 1.0.0