Skip to content

Equivalent for the require-jsdoc eslint rule set #1032

@vpmedia

Description

@vpmedia

Motivation

Report every missing piece of jsdoc comment(s).

Current behavior

Missing class and method comments are not reported as missing.

Desired behavior

Show warning for all missing jsdoc comments.

Alternatives considered

If I use the following (deprecated) eslint rule set I get warnings for missing class and method declarations:

    "require-jsdoc": ["warn", {
      "require": {
          "FunctionDeclaration": true,
          "MethodDefinition": true,
          "ClassDeclaration": true,
          "ArrowFunctionExpression": true,
          "FunctionExpression": true
      }
    }],

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions