prefer-no-bin
Enabling this rule will result in an error being generated if bin is present.
Example .npmpackagejsonlintrc configuration
{
"rules": {
"require-bin": "error"
}
}
Rule Details
Incorrect example(s)
{
"bin": {
"pjl-cli": "src/cli.js"
}
}
Correct example(s)
{
}
History
- Introduced in version 10.3.0