-
Notifications
You must be signed in to change notification settings - Fork 2
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
JSDoc Comment Issues #7
Comments
Yes, under the hood plugin is doing regex match, so there is nothing to stop you from creating your own regex and adding it into allowlist. Note that
Explanation:
Note I am not adding this to the source code as regexp is usually heavy in terms of required computation power. Adding such rules will slow down all workspaces including ones that don't use jsdoc What makes it more difficult is the fact that jsdoc examples tend to vary depending on a project. I don't think I will be able to cover all possible use cases so you have to come up with your own RegExp. ** I know some people might be unhappy of this decision** but there isn't anything worse than a loud spinning mac fan because eslint is running on a 1k lines file. |
@nazhujan I have a no-comments rule that supports jsdoc in my custom eslint rules: https://github.com/tomerh2001/eslint-plugin-th-rules Feel free to check it out. |
Currently working on project to throw error for unnecessary comment without correct label, which is easily to identify and helpful for the long run. But then I got 1 issue which is unable to ignore the JSDoc Comment which also become a blocker and i need to disable/warn the rules? any solution for this?
The text was updated successfully, but these errors were encountered: