Skip to content

enforce existence for classes #147

Open
@AlexanderZeilmann

Description

@AlexanderZeilmann

Currently, enforce-existence only enforces the existence of jsdoc comments for functions, but not for classes. I.e. in the following constructor is required to have a jsdoc comment, but the class itself is not.

class Point {
  constructor(x, y) {
    this.x = x;
    this.y = y;
  }
}

I'd like it, if the rule was also enforce the existence of jsdoc comments on classes.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions