adjusts rule to use kebab-case for long form option flags.

This commit is contained in:
Eyal Toledano
2025-03-25 00:22:43 -04:00
parent ebc0e2018d
commit 3be7920868
2 changed files with 12 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ alwaysApply: false
- ✅ DO: Use descriptive, action-oriented names
- **Option Names**:
- ✅ DO: Use camelCase for long-form option names (`--outputFormat`)
- ✅ DO: Use kebab-case for long-form option names (`--output-format`)
- ✅ DO: Provide single-letter shortcuts when appropriate (`-f, --file`)
- ✅ DO: Use consistent option names across similar commands
- ❌ DON'T: Use different names for the same concept (`--file` in one command, `--path` in another)