-
Notifications
You must be signed in to change notification settings - Fork 236
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
Option for lowercase-name
rule to allow uppercase for top level describes
#247
Comments
Happy to merge a PR with an |
Great! What do you think about a new |
I will take this up |
@gayathrigs27 Great! Which variant are you planning to implement? My favoured one was a |
I thought of using the approach SimenB suggested |
🎉 This issue has been resolved in version 23.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
My preferred style is for top-level
describe
/it
s to have names starting with a capital letter, and all nested blocks lower case. So then the concatenated test name reads like a sentence starting with a capital letter.e.g.:
At present this style is not possible to enforce with the
lowercase-name
rule.How about:
lowercase-name
ignore
options'top-describe'
,'top-it'
,'top-test'
(and'top'
as a shortcut for all three)uppercase-name
rule with the same options.Alternatively, a new rule called e.g.
name-case
could cover all possible permutations, with options something like:Do you feel this would be useful?
The text was updated successfully, but these errors were encountered: