pgilad / leasot

Parse and output TODOs and FIXMEs from comments in your files
https://pgilad.github.io/leasot
MIT License
804 stars 60 forks source link

Added support for modern JS and TS file extensions: .cjs .cts .mjs .mts #302

Closed mangs closed 2 years ago

mangs commented 2 years ago

Hello and thank you for this very useful tool 😀

I've been using this quite a bit with my team at work, and I'm currently migrating our codebase over to be a fully modern codebase using ES modules both in the browser and for Node.js. As a result, I've been using the file extensions mentioned in the PR title and would love them to be picked up by default by this tool.

Here is a useful article by the TypeScript team talking about them if you're interested: https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#new-file-extensions

If there's anything you'd like me to add, please let me know. Thank you.

pgilad commented 2 years ago

Thank you 🏆

mangs commented 2 years ago

Glad to help