Showing 71 of 74 total issues
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return ( <BuildErrors watch={!!props.watch} errors={[...errors, ...warnings]} /> );
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return { ...state, step: 'complete', result: action.payload.result, };
Avoid too many return
statements within this function. Open
Open
return { ...state, step: 'error', error: action.payload.error, };
Avoid too many return
statements within this function. Open
Open
return externalModules.includes(packageName);
Avoid too many return
statements within this function. Open
Open
return <Built results={props.results!} watch={!!props.watch} />;
Avoid too many return
statements within this function. Open
Open
return { ...state, step: 'cancelled', };
Avoid too many return
statements within this function. Open
Open
return state;
Function View
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
}> = props => { if (props.rc == null) { return <RCNotLoaded />; }
- Read upRead up
Function jestPlugin
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
export const jestPlugin = ({ Kefir,}: { Kefir: typeof import('kefir').default;}): Helpers => {
- Read upRead up