gulp-complexity
gulp-complexity copied to clipboard
ES6 Support
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).
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.
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.
Right.. Also, quite a few options are not available in this version of complexity-report
Any news on this?
IDK when I can find time for this, so PRs welcome.
I might take a stab at this.