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
Indentation after an decorator in an example #789
Comments
🎉 This issue has been resolved in version 36.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thx for your quick help @brettz9
perhaps a good scenario for the tests to avoid that it will break in a future refactoring? but I've seen a case where there is a difference between example with decorator and without decorator:
first |
Thanks for the info. Am preoccupied now but hope to take a look within a couple weeks. |
🎉 This issue has been resolved in version 37.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@Ulrikop : Sorry it took longer than expected for me to get to it, but the other |
Expected behavior
Examples that use a decorator allow additional indentation, such as an example without a decorator.
Actual behavior
An example that has an additional indentation on a new line after a decorator throws
There must be no indentation
.ESLint Config
ESLint sample
First
@example
throwThere must be no indentation
, the second@example
is fine.Environment
eslint-plugin-jsdoc
version: 36.1.0@typescript-eslint/parser
version: 4.33.0The text was updated successfully, but these errors were encountered: