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

require-description-complete-sentence: Add an option to specify abbreviations #424

Closed
sveyret opened this issue Nov 8, 2019 · 2 comments · Fixed by #457
Closed

require-description-complete-sentence: Add an option to specify abbreviations #424

sveyret opened this issue Nov 8, 2019 · 2 comments · Fixed by #457

Comments

@sveyret
Copy link

sveyret commented Nov 8, 2019

I often use abbreviations such as i.e. or e.g. in my comments. The rule require-description-complete-sentence requires that these abbreviations are followed by an uppercase letter. It would be great to have a rule option to indicate which abbreviations we currently use and are terminated by a period which may not be followed by an uppercase.

@lextoc
Copy link

lextoc commented Nov 20, 2019

Having the same issue. For the sake of example:

/**
 * ...
 * - Do not have dynamic content; e.g. Homepage. Here a simple unique id
 * suffices.
 * ...
 */

Should be (but gets wrongly corrected):

/**
 * ...
 * - Do not have dynamic content; e.g. homepage. Here a simple unique id
 * suffices.
 * ...
 */

Loving this plugin, great job!

brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 27, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 27, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 28, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 28, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 29, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 29, 2019
brettz9 added a commit to brettz9/eslint-plugin-jsdoc that referenced this issue Dec 31, 2019
@gajus
Copy link
Owner

gajus commented Dec 31, 2019

🎉 This issue has been resolved in version 18.8.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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants