Showing 3 of 29 total issues
Function sizeOfDir
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function sizeOfDir(
dir: string,
options: IOptions,
limit: (...args: any[]) => any,
cb: (size: IBlock) => void
Function getLargest
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getLargest(
blocks: IBlock[],
depth: number = 1,
inset: number = 0,
dir: string = `.`,
Function getLargest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
blocks: IBlock[],
depth: number = 1,
inset: number = 0,
dir: string = `.`,
padding?: number