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

feature: forward to strcase customization #26

Closed
gabyx opened this issue Dec 3, 2024 · 3 comments · Fixed by #27
Closed

feature: forward to strcase customization #26

gabyx opened this issue Dec 3, 2024 · 3 comments · Fixed by #27
Labels
enhancement New feature or request

Comments

@gabyx
Copy link

gabyx commented Dec 3, 2024

It would be really nice if we can forward settings to

https://github.com/ettle/strcase/blob/main/README.md#customization

and rewrite the caser such that it would use this.
Would you welcome a PR?

@ldez
Copy link
Owner

ldez commented Dec 4, 2024

I think that providing the full configuration is too complex to be usable within a configuration.

I also think only the initialism elements are interesting as a configuration.
Related to #19 and #2.

What is your use case behind this issue?

@gabyx
Copy link
Author

gabyx commented Dec 7, 2024

Basically we would like to have
custom lints: e.g. "mongoDB" is not in the list which strcase will convert to "mongoDb" which is conflicting with stylecheck etc.

So a way to configure exceptions by leveraging the full caser customization in strcase would help.

@ldez
Copy link
Owner

ldez commented Dec 8, 2024

So you don't need all the options related to the caser customization but just initialisms options.

@ldez ldez added enhancement New feature or request and removed proposal no-decision labels Dec 8, 2024
@ldez ldez closed this as completed in #27 Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants