prefer-no-contributors
Enabling this rule will result in an error being generated if contributors
is present.
Example .npmpackagejsonlintrc configuration
{
"rules": {
"prefer-no-contributors": "error"
}
}
Rule Details
Incorrect example(s)
{
"contributors": [
{
"name": "Thomas Lindner",
"email": "thomas.lindner@example.com"
}
]
}
{
"contributors": [
{
"author": "Thomas Lindner <thomas.lindner@example.com>"
}
]
}
Correct example(s)
{
}
History
- Introduced in version 5.3.0