hosseinmd / prettier-plugin-jsdoc

A Prettier plugin to format JSDoc comments.
MIT License
232 stars 28 forks source link

Ignore @openapi/@swagger jsdoc #227

Open pedro-mass opened 8 months ago

pedro-mass commented 8 months ago

For API documentation, I'm making use of this: https://github.com/Surnet/swagger-jsdoc

For this to work, it needs to follow certain formats:

When I run the prettier-plugin-jsdoc it breaks the requirements swagger-jsdoc needs.

Things I've tried:

Is there a way to have both? Good jsdoc formatting, but leave the API doc comments alone?