Code formatting with prettier, change eslint config for the server

This commit is contained in:
Maksim Eltyshev
2019-11-05 18:01:42 +05:00
parent b7f37f0f96
commit a11f6260c0
191 changed files with 4321 additions and 2880 deletions

View File

@@ -9,17 +9,10 @@ import EntryActionTypes from '../../../constants/EntryActionTypes';
export default function* () {
yield all([
takeLatest(
EntryActionTypes.COMMENT_ACTION_IN_CURRENT_CARD_CREATE,
({ payload: { data } }) => createCommentActionInCurrentCardService(data),
),
takeLatest(
EntryActionTypes.COMMENT_ACTION_UPDATE,
({ payload: { id, data } }) => updateCommentActionService(id, data),
),
takeLatest(
EntryActionTypes.COMMENT_ACTION_DELETE,
({ payload: { id } }) => deleteCommentActionService(id),
),
/* eslint-disable max-len */
takeLatest(EntryActionTypes.COMMENT_ACTION_IN_CURRENT_CARD_CREATE, ({ payload: { data } }) => createCommentActionInCurrentCardService(data)),
takeLatest(EntryActionTypes.COMMENT_ACTION_UPDATE, ({ payload: { id, data } }) => updateCommentActionService(id, data)),
takeLatest(EntryActionTypes.COMMENT_ACTION_DELETE, ({ payload: { id } }) => deleteCommentActionService(id)),
/* eslint-enable max-len */
]);
}