You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really helpful to have an option to configure prettier-plugin-jsdoc to allow one-line JSDoc annotations as multiline, e.g.:
Expected
/** * Adapted from https://testing-library.com/docs/react-testing-library/setup/ */
Actual
/** Adapted from https://testing-library.com/docs/react-testing-library/setup/ */
My use case is that although the current behavior is a lot more compact, it's harder to visually scan and recognize as a JSDoc comment (as opposed to just a regular ol' JS block comment) compared to the multi-line version. I might be in the minority on this though, so I'm totally fine with this proposal being an opt-in option rather than the new default.
Thanks so much for all your hard work on this! Having a prettier plugin for JSDoc has literally saved me hours of manual formatting work 🙌🏽
The text was updated successfully, but these errors were encountered:
It would be really helpful to have an option to configure
prettier-plugin-jsdoc
to allow one-line JSDoc annotations as multiline, e.g.:Expected
Actual
/** Adapted from https://testing-library.com/docs/react-testing-library/setup/ */
My use case is that although the current behavior is a lot more compact, it's harder to visually scan and recognize as a JSDoc comment (as opposed to just a regular ol' JS block comment) compared to the multi-line version. I might be in the minority on this though, so I'm totally fine with this proposal being an opt-in option rather than the new default.
Thanks so much for all your hard work on this! Having a prettier plugin for JSDoc has literally saved me hours of manual formatting work 🙌🏽
The text was updated successfully, but these errors were encountered: