Move from prettier-eslint to eslint-plugin-prettier, update dependencies

This commit is contained in:
Maksim Eltyshev
2020-02-03 18:42:31 +05:00
parent f0e7fb8fd1
commit 9c7c96a780
254 changed files with 5539 additions and 5170 deletions
+5 -5
View File
@@ -2,7 +2,7 @@ import ActionTypes from '../constants/ActionTypes';
/* Actions */
export const createCommentAction = (action) => ({
export const createCommentAction = action => ({
type: ActionTypes.COMMENT_ACTION_CREATE,
payload: {
action,
@@ -17,7 +17,7 @@ export const updateCommentAction = (id, data) => ({
},
});
export const deleteCommentAction = (id) => ({
export const deleteCommentAction = id => ({
type: ActionTypes.COMMENT_ACTION_DELETE,
payload: {
id,
@@ -58,7 +58,7 @@ export const updateCommentActionRequested = (id, data) => ({
},
});
export const updateCommentActionSucceeded = (action) => ({
export const updateCommentActionSucceeded = action => ({
type: ActionTypes.COMMENT_ACTION_UPDATE_SUCCEEDED,
payload: {
action,
@@ -73,14 +73,14 @@ export const updateCommentActionFailed = (id, error) => ({
},
});
export const deleteCommentActionRequested = (id) => ({
export const deleteCommentActionRequested = id => ({
type: ActionTypes.COMMENT_ACTION_DELETE_REQUESTED,
payload: {
id,
},
});
export const deleteCommentActionSucceeded = (action) => ({
export const deleteCommentActionSucceeded = action => ({
type: ActionTypes.COMMENT_ACTION_DELETE_SUCCEEDED,
payload: {
action,