1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

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 1f43d4f214
commit 45bde7e7c0
254 changed files with 5539 additions and 5170 deletions

View file

@ -1,6 +1,4 @@
import {
Model, attr, fk, many,
} from 'redux-orm';
import { Model, attr, fk, many } from 'redux-orm';
import ActionTypes from '../constants/ActionTypes';
@ -36,7 +34,7 @@ export default class extends Model {
case ActionTypes.PROJECTS_FETCH_SUCCEEDED:
case ActionTypes.PROJECT_CREATE_SUCCEEDED:
case ActionTypes.PROJECT_CREATE_RECEIVED:
payload.boards.forEach((board) => {
payload.boards.forEach(board => {
Board.upsert(board);
});
@ -100,7 +98,7 @@ export default class extends Model {
}
deleteWithRelated() {
this.cards.toModelArray().forEach((cardModel) => {
this.cards.toModelArray().forEach(cardModel => {
cardModel.deleteWithRelated();
});