src/core/actions/listActions/index.ts
Function listHandler
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
const listHandler = async (values: IArguments): Promise<void> => {
const spin: any = spinner('Generating Requested List . . .');
const { required, optional }: IArguments = values;
const all: boolean = !optional && !required;
await getInfos().then((projectInfos: IProjectInfos) => {
A space is required after '{' Open
Open
import {IArguments, IProjectInfos} from '../../../../types/typeDeclarations.interface';
- Read upRead up
- Exclude checks
A space is required before '}' Open
Open
import {IArguments, IProjectInfos} from '../../../../types/typeDeclarations.interface';
- Read upRead up
- Exclude checks