Skip to content

Conversation

@connorjs
Copy link
Owner

Adds the --dashes option (subject to change for v1.0) to supports emitting camelCase class names in place of kebab-case ones. Changes the default to drop invalid (e.g. kebab-case names) from the generated TypeScript.

Note: Although the generated default has changed, releasing under 0.2 (no breaking change) because the existing emitted TS was invalid.

Adds css to Prettier config.

Adds the `--dashes` option (subject to change for v1.0) to supports
emitting `camelCase` class names in place of `kebab-case` ones. Changes
the default to drop invalid (e.g. `kebab-case` names) from the generated
TypeScript.

Note: Although the generated default has changed, releasing under `0.2`
(no breaking change) because the existing emitted TS was invalid.

Adds `css` to Prettier config.
@connorjs
Copy link
Owner Author

FYI @rdparker - I’m thinking of merging this implementation instead of yours. (I’ll merge Monday (2023-12-25) to give you some time to comment any opinions.

If you see this after merge, still free to comment. My overall goal is to finalize some of this config over this next week and look to v1.0 by mid-to-end of Jan 2024.

@connorjs connorjs merged commit 97e04a1 into main Dec 25, 2023
@connorjs connorjs deleted the users/connorjs/kebab-case branch December 25, 2023 22:01
@connorjs
Copy link
Owner Author

@rdparker - Again, feel free to comment or open a separate issue if this does not satisfy your needs!! Thanks in advance.

@connorjs connorjs mentioned this pull request Dec 25, 2023
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