Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly kebabCase numbers #91

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Correctly kebabCase numbers #91

merged 1 commit into from
Mar 4, 2025

Conversation

bkrausz
Copy link
Contributor

@bkrausz bkrausz commented Mar 4, 2025

camelCase and kebabCase need to be exact inverses, otherwise API clients fail. camelCase('v0') === 'v0', so we need to ensure that kebalCase does the same.

This makes non-alpha chars not start a new word.

@bkrausz bkrausz requested a review from cjquines March 4, 2025 23:13
@bkrausz bkrausz merged commit 2fb7f68 into main Mar 4, 2025
1 check failed
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