What kind of metric generator do you use in JS?
in PHP there is php-metrics a sophisticated solution, is PHPStan for static analyis. But what tools do exist in javascript ? What are your experiences ?
We have a variety of projects so they vary, but usually...
The team has tried SonarQube in the past, which was good but didn't quite stick at the time; it's worth a look.
For linting, I use ESLint with my own standard/custom configuration.
Regarding dead code, I rely on PhpStorm/WebStorm to see what is used or not (even tho it requires some tweaking when it comes to projects with library modules).
I did this survey on 5-6 different platforms so far I did not get to much response, but at the react meetup I did get the chance to talk to Juho Vepsäläinen and he was nice enough to send me the link to
survivejs.com/maintenance/code-quality/testing
I also got the response in the G+ community at least one did come up with:
besides that I will give a heads up if I get something new :)
j
stuff ;)
Tommy Hodgins
CSS & Element Queries
I've used a JS-to-SVG flowchart generator to help illustrate JS logic outside of JS grammar: bogdan-lyashenko.github.io/js-code-to-svg-flowcha…
I'm also curious about other tools here - I've got a number of similar plugins that share a lot of code, and I've been looking for insights on how the common parts of those plugins might be merged, or how to better separate all the boilerplate that's in all plugins from the bits that are unique to each :D