Showing 671 of 671 total issues
Avoid too many return
statements within this function. Open
Open
return {
type: RegionType.ColumnHeader,
x: startOffsetX,
y: 0,
width,
Avoid too many return
statements within this function. Open
Open
return {
type: CellRegionType.Preview,
data: (data[realIndex] as { id: string; title: string })?.id,
};
Avoid too many return
statements within this function. Open
Open
return (
<CellDate
value={value as string}
formatting={options.formatting as IDatetimeFormatting}
className={className}
Avoid too many return
statements within this function. Open
Open
return token;
Avoid too many return
statements within this function. Open
Open
return `${bytesToMB(value as number)}MB`;
Avoid too many return
statements within this function. Open
Open
return (
<CellDate value={value as string} formatting={options.formatting} className={className} />
);
Avoid too many return
statements within this function. Open
Open
return new Date(cellValue as string).toISOString();
Avoid too many return
statements within this function. Open
Open
return cellValue;
Avoid too many return
statements within this function. Open
Open
return (
<CellRating
value={value as number}
options={options as IRatingFieldOptions}
className={className}
Avoid too many return
statements within this function. Open
Open
return onChange?.(newValues);
Avoid too many return
statements within this function. Open
Open
return { type: CellRegionType.Blank };
Avoid too many return
statements within this function. Open
Open
return (
<ChartProvider
storage={pluginInstall?.storage as unknown as IChartStorage}
uiConfig={{
...uiConfig,
Avoid too many return
statements within this function. Open
Open
return (
<CellUser
value={value as IUserCellValue | IUserCellValue[]}
className={className}
itemClassName={itemClassName}
Avoid too many return
statements within this function. Open
Open
return (
<CellAttachment
value={value as IAttachmentCellValue}
className={className}
itemClassName={itemClassName}
Avoid too many return
statements within this function. Open
Open
return (
<CellLink
value={value as ILinkCellValue | ILinkCellValue[]}
className={className}
itemClassName={itemClassName}
Avoid too many return
statements within this function. Open
Open
return Response.json({
accessToken: res.data.accessToken,
});
Avoid too many return
statements within this function. Open
Open
return setCursor('pointer');
Avoid too many return
statements within this function. Open
Open
return setCursor('grabbing');
Avoid too many return
statements within this function. Open
Open
return onCollapsedGroupChanged?.(newCollapsedGroupIds);
Avoid too many return
statements within this function. Open
Open
return (
<AttachmentEditor
className={className}
value={cellValue as IAttachmentCellValue}
onChange={onChange}