Skip to content

Invalid warning 'Sentence must end with a period' #942

Closed
@wdanilo

Description

Hi, I've got such a file:

/** @file Easing is a method of distorting time to control apparent motion in animation. This module
 * defines a set of easing functions. To learn more about them and see graphs of how they behave,
 * see: https://github.com/d3/d3-ease. */

// =================
// === Constants ===
// =================

/** Two power minus ten times t scaled to [0,1]. */
export function tpmt(x: number) {
    return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494
}

...

And I've got a warning:

2:1  warning  Sentence must end with a period                            jsdoc/require-description-complete-sentence

Which seems incorrect, as all the sentences end with a dot.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions