Showing 2 of 22 total issues
Function cli
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cli () {
program
.version(config.version)
.usage('[options] <dir>')
.option('-s, --scan <file>', 'Directory or file', scanCommand);
Function reporter
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const reporter = (file, deprecatedFunctionsNames, opts = {}) => {
const defaults = {
encoding: 'utf-8',
deprecatedTag: /@\bdeprecated\b/
};