app/javascript/flavours/glitch/reducers/pinned_accounts_editor.js
Function listEditorReducer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function listEditorReducer(state = initialState, action) {
switch(action.type) {
case PINNED_ACCOUNTS_EDITOR_RESET:
return initialState;
case PINNED_ACCOUNTS_FETCH_REQUEST: