4 ms·
Can this also detect low-hanging fruit like say, 5 instances where we can add some code and give up Lodash?
by aitchnyu 1y ago
Can this also detect low-hanging fruit like say, 5 instances where we can add some code and give up Lodash?
- johnjames4214 1y agoyeah you can definitely point it at lodash (or any utility lib) and it’ll surface spots where it’s imported but never really used. but for “we could just rewrite this tiny helper ourselves” type stuff, knip won’t judge code quality. it’s more about flagging dead deps/files than saying “ditch lodash.” that call still needs a human.