jscs-dev / jscs-jsdoc

JsDoc validation rules for jscs
MIT License
99 stars 35 forks source link

requireDescriptionCompleteSentence: dot in abbreviation is treated like a sentence end #145

Closed tonyganch closed 8 years ago

tonyganch commented 9 years ago

With this line in config:

requireDescriptionCompleteSentence: true

dots in abbreviations (like e.g. or i.e.) are mistakenly treated like sentence end. For example, this line throws an error demanding e.g. to be e.G.:

/**
 * Checks if token is part of an @-word (e.g. `@import`, `@include`).
 */

Maybe "sentence end" should be "dot + space" instead of just "dot"?

qfox commented 9 years ago

Thanks for reporting.

Related to #129