Showing 4 of 13 total issues
Function create
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function create(deps: Dependencies) {
return (
moduleName: string,
newModuleName: string,
destPath: string,
Function getImports
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getImports(src: string): string[] {
const walker = new Walker();
const dependencies = [];
Function result
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const result = recLoop('/index', path => {
if (path === '/index') {
return {
seeds: [
'../common',
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function create(deps: Dependencies) {
return () => {
const CLArgs = deps.parseCLArgs(messages.help, config);
const command = CLArgs.input[0];