-
Notifications
You must be signed in to change notification settings - Fork 49
Rule proposal: test-title-format
#157
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
Comments
Sounds like a good idea. Would you mind providing some examples of the test titles you use? |
@sindresorhus |
FYI, eslint-plugin-mocha has similar rules: Sounds good to me too. |
What kind of regex would you use? Should it also support hooks? |
@sindresorhus |
I'm guessing that if you pass a regex to the rule's options (only possible when you configure your lint file in JS), we'll use it as is, but if you pass a string, we'll transform it with |
@jfmengels sgtm for me |
Sounds good. Pull request welcome :) Alternative rule name suggestions:
|
I like test-title-format. |
test-title-pattern
test-title-format
@IssueHunt has funded $60.00 to this issue.
|
@sindresorhus has rewarded $54.00 to @GMartigny. See it on IssueHunt
|
Uh oh!
There was an error while loading. Please reload this page.
Give to check the title on a specific regex pattern.
We adhere to specific naming titles, but the new members in the team are sometimes overlooked or do mistake.
IssueHunt Summary
Sponsors (Total: $60.00)
Tips
The text was updated successfully, but these errors were encountered: