Skip to content

jsdoc/require-description-complete-sentence doesn't work with abbreviations #581

@snowystinger

Description

@snowystinger

Expected behavior

The sentence, 'This thing works in a certain way, e.g. in this specific way.', is valid.

Actual behavior

The sentence, 'This thing works in a certain way, e.g. in this specific way.', is broken up into two 'This thing works in a certain way, e.g.' and 'In this specific way.'

ESLint Config

rules: {
'jsdoc/require-description-complete-sentence': ERROR,
}

ESLint sample

// Format code using Markdown code blocks

Environment

  • Node version: 12.12.0
  • ESLint version 5.16.0
  • eslint-plugin-jsdoc version: 27.1.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions