Skip to content

Conversation

@DeveloperC286
Copy link
Owner

No description provided.

Add a new CLI flag --lowercase-scope that enforces conventional commit
scopes (if present) must be lowercase, otherwise linting fails.

- Add lowercase_scope boolean field to CLI Arguments struct
- Create new NonLowercaseScope error variant
- Implement lowercase_scope linting module with regex-based validation
- Update commit linting pipeline to check scope case when flag enabled
- Add comprehensive unit tests for all scope case scenarios
- Add end-to-end tests for flag behavior and validation
- Update all existing tests to pass new lowercase_scope parameter

The flag is disabled by default to maintain backward compatibility.
When enabled, violations like feat(AUTH): or fix(ApiClient): will
be detected and reported as linting errors.

Fixes #28

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: DeveloperC <DeveloperC286@users.noreply.github.com>
@DeveloperC286 DeveloperC286 changed the title feat: add --lowercase-scope flag for enforcing lowercase scopes Add a new CLI flag --lowercase-scope that enforces conventional commit scopes (if present) must be lowercase, otherwise linting fails. - Add lowercase_scope boolean field to CLI Arguments struct - Create new NonLowercaseScope error variant - Implement lowercase_scope linting module with regex-based validation - Update commit linting pipeline to check scope case when flag enabled - Add comprehensive unit tests for all scope case scenarios - Add end-to-end tests for flag behavior and validation - Update all existing tests to pass new lowercase_scope parameter The flag is disabled by default to maintain backward compatibility. When enabled, violations like feat(AUTH): or fix(ApiClient): will be detected and reported as linting errors. Fixes #28 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: DeveloperC <DeveloperC286@users.noreply.github.com> feat: add --lowercase-scope flag for enforcing lowercase scopes Oct 4, 2025
@claude

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants