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
Custom message for match-description
#688
Labels
Comments
And by the way |
Any PR to add such support would I think also need to add a |
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Jun 19, 2021
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Jun 20, 2021
brettz9
added a commit
that referenced
this issue
Jun 21, 2021
🎉 This issue has been resolved in version 35.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
It would be great if it would be possible to pass a custom message to the
match-description
rule. This way the error message becomes more descriptive.Current behavior
If I use for example the following rule:
I get the validation error
JSDoc description does not satisfy the regex pattern
Desired behavior
I would like to specify a custom message that fits to my regex pattern. In this specific example it might be something like this:
The text was updated successfully, but these errors were encountered: