Showing 2,441 of 6,157 total issues
Avoid too many return
statements within this function. Open
Open
return (
<Button
buttonSize="small"
buttonStyle="primary"
onClick={() => fetchResults(query)}
Avoid too many return
statements within this function. Open
Open
return formattedValue.length ? formattedValue.join(', ') : '[]';
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return safeStringify(value);
Avoid too many return
statements within this function. Open
Open
return {
...charts,
[action.key]: actionHandlers[action.type](charts[action.key]),
};
Avoid too many return
statements within this function. Open
Open
return JSON.parse(urlParam);
Avoid too many return
statements within this function. Open
Open
return urlParam;
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return value
.map((v: FilterItemType) => {
const filterVal =
v.comparator && v.comparator.constructor === Array
? `[${v.comparator.join(', ')}]`
Avoid too many return
statements within this function. Open
Open
return formattedValue.length ? formattedValue.join(', ') : '[]';
Avoid too many return
statements within this function. Open
Open
return urlParam.toLowerCase() !== 'false' && urlParam !== '0';
Avoid too many return
statements within this function. Open
Open
return rison.decode(urlParam);
Avoid too many return
statements within this function. Open
Open
return `Min: ${value[0]}, Max: ${value[1]}`;
Avoid too many return
statements within this function. Open
Open
return value.map((v: FilterItemType) => safeStringify(v)).join(', ');
Avoid too many return
statements within this function. Open
Open
return charts;
Avoid too many return
statements within this function. Open
Open
return previousState;
Avoid too many return
statements within this function. Open
Open
return null;
Avoid too many return
statements within this function. Open
Open
return value;
Avoid too many return
statements within this function. Open
Open
return {
...trimmedState,
extra: JSON.stringify({
...extraJson,
[action.payload.name]:
Avoid too many return
statements within this function. Open
Open
return {
...trimmedState,
};