-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
no-empty-blocks
rule
#1042
Comments
The removal of empty tags is a nice idea for a rule.
settings: {
jsdoc: {
tagNamePreference: {
todo: false,
},
},
},
|
🎉 This issue has been resolved in version 43.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Motivation
All those param types are being removed and become empty
Making all the functions to have descriptions is not planned.
Thus I need a way to cleanup empty code blocks.
Code generation sometimes causes empty JSDoc blocks to appear here and there.
Some non-needed blocks like
@minItems
can also appear.I am looking for an easy and straigntforward way to remove the blocks I don't need
First step would be removing unwanted tags by autofixer
Second step would be removing blocks which became empty by autofixer
Current behavior
The documentation is too long to read it completely
Nothing searchable there clearly states that it can be used to remove lines or blocks, other then builtin autofixers
Desired behavior
Alternatives considered
I have spend an hour reading documentation, understood nothing on the case
The text was updated successfully, but these errors were encountered: