Open alsi-lawr opened 1 month ago
I'll do it
Great! As a suggestion, there's a few cases that might be good to add:
Formatting | Name(s) | Suggested |
---|---|---|
twowords | flatcase | FlatCase |
TWOWORDS | UPPERCASE, SCREAMINGCASE | UpperCase |
TWO_WORDS | ALL_CAPS, SCREAMING_SNAKE_CASE, MACRO_CASE, CONSTANT_CASE | MacroCase |
two_Words | camel_Snake_Case | CamelSnakeCase |
Two_Words | Pascal_Snake_Case, Start_Snake_case | StartSnakeCase |
TWO-WORDS | TRAIN-CASE, COBOL-CASE, SCREAMING-KEBAB-CASE | CobolCase |
Two-Words | Train-Case, HTTP-Header-Case | TrainCase |
Two words | Sentence case | SentenceCase |
Obviously you don't need to implement all, although I think it'd be fairly trivial with the current model. Choose whichever namespace you want from the suggested names above, but be sensible as there's some overlap in naming.
For any submissions, I'd prefer a single PR per new case, and associated unit tests/README updates.
I'll do it