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

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();
});