Move from prettier-eslint to eslint-plugin-prettier, update dependencies
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createBoardInCurrentProject = (data) => ({
|
||||
export const createBoardInCurrentProject = data => ({
|
||||
type: EntryActionTypes.BOARD_IN_CURRENT_PROJECT_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -23,7 +23,7 @@ export const moveBoard = (id, index) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteBoard = (id) => ({
|
||||
export const deleteBoard = id => ({
|
||||
type: EntryActionTypes.BOARD_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -16,7 +16,7 @@ export const updateCard = (id, data) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const updateCurrentCard = (data) => ({
|
||||
export const updateCurrentCard = data => ({
|
||||
type: EntryActionTypes.CURRENT_CARD_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -32,7 +32,7 @@ export const moveCard = (id, listId, index) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteCard = (id) => ({
|
||||
export const deleteCard = id => ({
|
||||
type: EntryActionTypes.CARD_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createCommentActionInCurrentCard = (data) => ({
|
||||
export const createCommentActionInCurrentCard = data => ({
|
||||
type: EntryActionTypes.COMMENT_ACTION_IN_CURRENT_CARD_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -15,7 +15,7 @@ export const updateCommentAction = (id, data) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteCommentAction = (id) => ({
|
||||
export const deleteCommentAction = id => ({
|
||||
type: EntryActionTypes.COMMENT_ACTION_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createLabelInCurrentBoard = (data) => ({
|
||||
export const createLabelInCurrentBoard = data => ({
|
||||
type: EntryActionTypes.LABEL_IN_CURRENT_BOARD_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -15,7 +15,7 @@ export const updateLabel = (id, data) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteLabel = (id) => ({
|
||||
export const deleteLabel = id => ({
|
||||
type: EntryActionTypes.LABEL_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
@@ -30,7 +30,7 @@ export const addLabelToCard = (id, cardId) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const addLabelToCurrentCard = (id) => ({
|
||||
export const addLabelToCurrentCard = id => ({
|
||||
type: EntryActionTypes.LABEL_TO_CURRENT_CARD_ADD,
|
||||
payload: {
|
||||
id,
|
||||
@@ -45,21 +45,21 @@ export const removeLabelFromCard = (id, cardId) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const removeLabelFromCurrentCard = (id) => ({
|
||||
export const removeLabelFromCurrentCard = id => ({
|
||||
type: EntryActionTypes.LABEL_FROM_CURRENT_CARD_REMOVE,
|
||||
payload: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
|
||||
export const addLabelToFilterInCurrentBoard = (id) => ({
|
||||
export const addLabelToFilterInCurrentBoard = id => ({
|
||||
type: EntryActionTypes.LABEL_TO_FILTER_IN_CURRENT_BOARD_ADD,
|
||||
payload: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
|
||||
export const removeLabelFromFilterInCurrentBoard = (id) => ({
|
||||
export const removeLabelFromFilterInCurrentBoard = id => ({
|
||||
type: EntryActionTypes.LABEL_FROM_FILTER_IN_CURRENT_BOARD_REMOVE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createListInCurrentBoard = (data) => ({
|
||||
export const createListInCurrentBoard = data => ({
|
||||
type: EntryActionTypes.LIST_IN_CURRENT_BOARD_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -23,7 +23,7 @@ export const moveList = (id, index) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteList = (id) => ({
|
||||
export const deleteList = id => ({
|
||||
type: EntryActionTypes.LIST_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const authenticate = (data) => ({
|
||||
export const authenticate = data => ({
|
||||
type: EntryActionTypes.AUTHENTICATE,
|
||||
payload: {
|
||||
data,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const deleteNotification = (id) => ({
|
||||
export const deleteNotification = id => ({
|
||||
type: EntryActionTypes.NOTIFICATION_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createMembershipInCurrentProject = (data) => ({
|
||||
export const createMembershipInCurrentProject = data => ({
|
||||
type: EntryActionTypes.MEMBERSHIP_IN_CURRENT_PROJECT_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteProjectMembership = (id) => ({
|
||||
export const deleteProjectMembership = id => ({
|
||||
type: EntryActionTypes.PROJECT_MEMBERSHIP_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createProject = (data) => ({
|
||||
export const createProject = data => ({
|
||||
type: EntryActionTypes.PROJECT_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
},
|
||||
});
|
||||
|
||||
export const updateCurrentProject = (data) => ({
|
||||
export const updateCurrentProject = data => ({
|
||||
type: EntryActionTypes.CURRENT_PROJECT_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createTaskInCurrentCard = (data) => ({
|
||||
export const createTaskInCurrentCard = data => ({
|
||||
type: EntryActionTypes.TASK_IN_CURRENT_CARD_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -15,7 +15,7 @@ export const updateTask = (id, data) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteTask = (id) => ({
|
||||
export const deleteTask = id => ({
|
||||
type: EntryActionTypes.TASK_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||||
|
||||
export const createUser = (data) => ({
|
||||
export const createUser = data => ({
|
||||
type: EntryActionTypes.USER_CREATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -20,14 +20,14 @@ export const updateUser = (id, data) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const updateCurrentUser = (data) => ({
|
||||
export const updateCurrentUser = data => ({
|
||||
type: EntryActionTypes.CURRENT_USER_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
},
|
||||
});
|
||||
|
||||
export const updateCurrentUserEmail = (data) => ({
|
||||
export const updateCurrentUserEmail = data => ({
|
||||
type: EntryActionTypes.CURRENT_USER_EMAIL_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -39,7 +39,7 @@ export const clearCurrentUserEmailUpdateError = () => ({
|
||||
payload: {},
|
||||
});
|
||||
|
||||
export const updateCurrentUserPassword = (data) => ({
|
||||
export const updateCurrentUserPassword = data => ({
|
||||
type: EntryActionTypes.CURRENT_USER_PASSWORD_UPDATE,
|
||||
payload: {
|
||||
data,
|
||||
@@ -51,14 +51,14 @@ export const clearCurrentUserPasswordUpdateError = () => ({
|
||||
payload: {},
|
||||
});
|
||||
|
||||
export const uploadCurrentUserAvatar = (file) => ({
|
||||
export const uploadCurrentUserAvatar = file => ({
|
||||
type: EntryActionTypes.CURRENT_USER_AVATAR_UPLOAD,
|
||||
payload: {
|
||||
file,
|
||||
},
|
||||
});
|
||||
|
||||
export const deleteUser = (id) => ({
|
||||
export const deleteUser = id => ({
|
||||
type: EntryActionTypes.USER_DELETE,
|
||||
payload: {
|
||||
id,
|
||||
@@ -73,7 +73,7 @@ export const addUserToCard = (id, cardId) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const addUserToCurrentCard = (id) => ({
|
||||
export const addUserToCurrentCard = id => ({
|
||||
type: EntryActionTypes.USER_TO_CURRENT_CARD_ADD,
|
||||
payload: {
|
||||
id,
|
||||
@@ -88,21 +88,21 @@ export const removeUserFromCard = (id, cardId) => ({
|
||||
},
|
||||
});
|
||||
|
||||
export const removeUserFromCurrentCard = (id) => ({
|
||||
export const removeUserFromCurrentCard = id => ({
|
||||
type: EntryActionTypes.USER_FROM_CURRENT_CARD_REMOVE,
|
||||
payload: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
|
||||
export const addUserToFilterInCurrentBoard = (id) => ({
|
||||
export const addUserToFilterInCurrentBoard = id => ({
|
||||
type: EntryActionTypes.USER_TO_FILTER_IN_CURRENT_BOARD_ADD,
|
||||
payload: {
|
||||
id,
|
||||
},
|
||||
});
|
||||
|
||||
export const removeUserFromFilterInCurrentBoard = (id) => ({
|
||||
export const removeUserFromFilterInCurrentBoard = id => ({
|
||||
type: EntryActionTypes.USER_FROM_FILTER_IN_CURRENT_BOARD_REMOVE,
|
||||
payload: {
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user