hosseinmd / prettier-plugin-jsdoc

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

fix: editorconfig indent_style=tab breaking example tag #110

Closed danielpza closed 3 years ago

danielpza commented 3 years ago

Closes https://github.com/hosseinmd/prettier-plugin-jsdoc/issues/109

All tests pass I'm not sure if by removing this match in the regexp somethings breaks. Can you confirm on the intent of this part of the regexp @hosseinmd?

Also didn't add any extra tests because wasn't sure how to add an editorconfig in a folder with the test file in the current configuration, however I did test it in a sandbox and seems to be working

hosseinmd commented 3 years ago

Please add your example to tests

hosseinmd commented 3 years ago

I rebase master to your branch

danielpza commented 3 years ago

Please add your example to tests

@hosseinmd I don't think the tests are picking up the .editorconfig options, so I don't know how to add it to test

hosseinmd commented 3 years ago

Thank you.