vigetlabs / grunt-complexity

A JavaScript complexity analysis grunt task.
MIT License
221 stars 22 forks source link

Request: Add TypeScript support. #15

Closed Chris2011 closed 7 years ago

Chris2011 commented 11 years ago

I would like to test the complexity of my TypeScript files. This would be great.

Regards

Chris

Chris2011 commented 10 years ago

Hi, anything new about that?

nhunzaker commented 10 years ago

Hey @Chris2011. I'm working on upgrading grunt-complexity to use escomplex which accepts an abstract syntax tree (AST). I'm hoping that this means we then just have to get something that can generate ASTs for coffeescript/typescript.

Chris2011 commented 9 years ago

Hey @nhunzaker anything new? I didn't test it again, only know whether now it's possible or not? I would really like to use this task for TS.

kevde commented 8 years ago

@Chris2011 try for the latest release. It now supports ES6. But I dont know if it also supports TS

Chris2011 commented 8 years ago

@kevde thx I will try it. :)

Chris2011 commented 7 years ago

Unfortunately, I don't use grunt anymore, so I will close this ticket, but if you say, that it should work with ES6 that would be great. Sry, but maybe someone else will find this ticket helpful or will test it :) Thx for the work anyway.