-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Autofix breaks comments removing zero/final line #1040
Comments
If you run eslint at the command line, which rule is reported as the cause of the error? |
Nevermind, looks like it's |
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Apr 21, 2023
…ut the tag; otherwise, remove to end of block); fixes gajus#1040
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Apr 24, 2023
…ut the tag; otherwise, remove to end of block); fixes gajus#1040
brettz9
added a commit
that referenced
this issue
Apr 24, 2023
…ut the tag; otherwise, remove to end of block); fixes #1040
🎉 This issue has been resolved in version 43.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
When removing first or last line of the comment by autofixing, the
/*
/*/
should remainActual behavior
Opening and closing of the comment can be removed by autofixer
ESLint Config
ESLint sample
The
@typedef
and@module
lines get removed with comment open/close, completely breaking the codeEnvironment
eslint-plugin-jsdoc
version: 43.0.7The text was updated successfully, but these errors were encountered: