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
Support Pascal Case for L030 #2736
Comments
Can you be clear what you mean by PascalCase here? I presume you mean:
Depending on answer to those (particularly the second one) it might be best to just turn off rule L030 rather than add to it. |
As L014 already has PascalCase, I thought it could and should use the same logic 🙂 |
Oh that makes it easier: #2739 Is a breaking change though as requires all users of this rule to update their config 😞 |
That was fast, thank you! |
Luckily was simple once you pointed me in the right direction! 😁 |
Search before asking
Description
It often makes sense to have function names as PascalCase, for example
DateAdd
orIsNull
. Unfortunately, L030 only offersupper
,lower
andcapitalize
, which are all less than ideal for these cases.Use case
I would like my function names to be easily readable. For names that consist of multiple words, PascalCase makes the most sense.
Dialect
At least T-SQL, but probably relevant for all dialects.
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: