Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforce existence for classes #147

Open
AlexanderZeilmann opened this issue Aug 31, 2015 · 0 comments
Open

enforce existence for classes #147

AlexanderZeilmann opened this issue Aug 31, 2015 · 0 comments

Comments

@AlexanderZeilmann
Copy link
Contributor

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?

@qfox qfox added the esnext label Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants