💼 This rule is enabled in the 🎨 stylistic config.
💡 This rule is manually fixable by editor suggestions.
This rule enforces that when your bin value is an object, its keys (representing the commands for each script) should be in kebab case (e.g. my-command).
Example of incorrect code:
{
"bin": {
"invalidCommand": "./bin/cli.js"
}
}Example of correct code:
{
"bin": {
"valid-command": "./bin/cli.js"
}
}