Skip to content

Conversation

@sebvilhelm
Copy link
Contributor

resolves #60

Copy link
Owner

@ardeois ardeois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great thank you for your contribution !

I have few comments before I can merge. You hardcoded transformUnderscore to true in some places, which makes the output incorrect.
Check the snapshot, you will see your new unit test outputs invalid typescript

CleanShot 2021-10-19 at 17 24 58

But otherwise, the logic is good!

@sebvilhelm
Copy link
Contributor Author

@ardeois Thanks for the quick review 🙏

I've addressed your comments in the new commits. Let me know if you prefer me to squash them.

@ardeois ardeois added the minor Increment the minor version when merged label Oct 20, 2021
@ardeois
Copy link
Owner

ardeois commented Oct 20, 2021

@VilhelmNielsen thanks for the changes, looks good now

@ardeois ardeois merged commit 9205bd4 into ardeois:master Oct 20, 2021
@sebvilhelm sebvilhelm deleted the transform-underscore-option branch October 20, 2021 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserving underscores

2 participants