simonrenoult/code-complexity

Move away from node-sloc

simonrenoult opened this issue · 2 comments

What problem are you trying to solve?

Not really a feature but we depend on node-sloc to count file complexity. Which is far from being popular and is at risk of being abandoned one day.

Describe the feature

We should look into alternatives.

Not much alternatives, but scnt

In the end, we'll keep node-sloc for simplicity sake and fallback to a manual line count when node-sloc does not support the file type.