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 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,
|
||||
|
||||
Reference in New Issue
Block a user