Showing 90 of 251 total issues
Avoid too many return
statements within this function. Open
Open
return flow([
set(['filter', 'text'], ''),
set(['filter', 'tags'], []),
set(['filter', 'language'], ''),
set(['filter', 'status'], action.payload.status),
Avoid too many return
statements within this function. Open
Open
return set(['comments', action.meta.id], action.payload, state);
Avoid too many return
statements within this function. Open
Open
return filter({ truncated: true }, sortedSnippets);
Avoid too many return
statements within this function. Open
Open
return 'untagged';
Avoid too many return
statements within this function. Open
Open
return set(['edit', 'files', action.payload.uuid, 'delete'], true, state);
Avoid too many return
statements within this function. Open
Open
return set(['comments', action.meta.id], [], state);
Avoid too many return
statements within this function. Open
Open
return sortedSnippets;
Avoid too many return
statements within this function. Open
Open
return set(
['snippets', action.payload.id],
snippetStructure(action.payload, state.starred),
state
);
Avoid too many return
statements within this function. Open
Open
return set('edit', {}, state);
Avoid too many return
statements within this function. Open
Open
return set(['settings', action.payload.key], result, state);
Avoid too many return
statements within this function. Open
Open
return flow([
set(['edit', 'description'], description),
set(['edit', 'files'], keyBy('uuid', preparedFiles))
])(state);
Avoid too many return
statements within this function. Open
Open
return set(['settings', action.payload.key], action.payload.value, state);
Avoid too many return
statements within this function. Open
Open
return flow([set('rateLimit', action.payload), set(['rateLimit', 'loading'], false)])(state);
Avoid too many return
statements within this function. Open
Open
return flow([
set(['settings', action.payload.key], action.payload.value),
set(['settings', 'theme', 'baseAppColor'], action.payload.value),
set(
['settings', 'theme', 'headerBgLightest'],
Avoid too many return
statements within this function. Open
Open
return snippets;
Avoid too many return
statements within this function. Open
Open
return set(['edit', 'files'], merge(newFile, existingFiles || {}), state);
Avoid too many return
statements within this function. Open
Open
return filter((snippet) => snippet.tags === null || size(snippet.tags) === 0, sortedSnippets);
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return 'large files';
Avoid too many return
statements within this function. Open
Open
return state;