gulp-complexity icon indicating copy to clipboard operation
gulp-complexity copied to clipboard

ES6 Support

Open darthtrevino opened this issue 9 years ago • 7 comments

I'm using Babel and ES6, and complexity analysis doesn't work on my code base. It would be nice if the analysis supported ES6. I think you can get this by using an esprima fork (e.g. esprima-fb).

darthtrevino avatar Mar 30 '15 18:03 darthtrevino

Hi @darthtrevino! I'll try to investigate capabilities asap. Out of the box, complexity-report doesn't have ES6 support. And it's the main issue.

alexeyraspopov avatar Apr 03 '15 09:04 alexeyraspopov

Well...

alexeyraspopov avatar Jul 16 '15 23:07 alexeyraspopov

The official fork of escomplex by jared-stilwell seems to support es6 (and also is the official npm package now): https://github.com/jared-stilwell/escomplex. https://github.com/jared-stilwell/complexity-report

It seems like a version bump of the npm package would be sufficient.

daedalus28 avatar Apr 27 '16 15:04 daedalus28

Right.. Also, quite a few options are not available in this version of complexity-report

rakeshmenon avatar Apr 28 '16 03:04 rakeshmenon

Any news on this?

kadishmal avatar May 10 '16 01:05 kadishmal

IDK when I can find time for this, so PRs welcome.

alexeyraspopov avatar May 10 '16 18:05 alexeyraspopov

I might take a stab at this.

jreading avatar Feb 14 '17 22:02 jreading