The main goal is to show unused dependencies on Node.js modules, more specifically, to show that Foo dependency declared in package.json is not being used because there is no require('foo').
nodeshift is using yargs inside bin directory in a executable file nodeshift, since szero scope is to scan only .js files, then the ignore option should avoid the bin directory and not show the dependency yargs as unused.
When running szero on nodeshift project, it shows yargs as unused :
nodeshift is using yargs inside
bin
directory in a executable filenodeshift
, since szero scope is to scan only.js
files, then the ignore option should avoid thebin
directory and not show the dependency yargs as unused.