futurGH / ts-to-jsdoc

Transpile TypeScript code to fully compatible JavaScript + JSDoc comments.
MIT License
181 stars 17 forks source link

Prettier and Ts-Jest #37

Closed OuthBack closed 9 months ago

OuthBack commented 9 months ago

Problem: I was trying to understand the code and I used the debugger to help me. After some hours trying to understand why the breakpoints weren't working I figured out that it was because of typescript.

I use prettier as formatter so the code was formatting automatically,

Solution: Install ts-jest Create an standard for format the code

Funny observation: The feature I was trying to add was about type imports that the maintainer add to the project 3 days ago LOL.

futurGH commented 9 months ago

I don't see any reason to add either of these dependencies when the current setup works. You can disable prettier when you edit the source code (it's generally not a good idea to have it enabled/installed globally — for this reason!).