scripts/apps/archive/show-spike-dialog.tsx
Function showSpikeDialog
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function showSpikeDialog<T>(
modal: any,
doSpike: () => void,
promptForConfirmationMessage: string,
middlewares: Array<(value: T) => Promise<onSpikeMiddlewareResult>>,
Function showSpikeDialog
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
modal: any,
doSpike: () => void,
promptForConfirmationMessage: string,
middlewares: Array<(value: T) => Promise<onSpikeMiddlewareResult>>,
middlewareArgument: T,