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

Code formatting with prettier, change eslint config for the server

This commit is contained in:
Maksim Eltyshev 2019-11-05 18:01:42 +05:00
parent b7f37f0f96
commit a11f6260c0
191 changed files with 4321 additions and 2880 deletions

View file

@ -15,7 +15,7 @@ const COLORS = [
'sky',
'lime',
'pink',
'black'
'black',
];
module.exports = {
@ -29,12 +29,12 @@ module.exports = {
name: {
type: 'string',
isNotEmptyString: true,
allowNull: true
allowNull: true,
},
color: {
type: 'string',
isIn: COLORS,
required: true
required: true,
},
// ╔═╗╔╦╗╔╗ ╔═╗╔╦╗╔═╗
@ -48,12 +48,12 @@ module.exports = {
boardId: {
model: 'Board',
required: true,
columnName: 'board_id'
columnName: 'board_id',
},
cards: {
collection: 'Card',
via: 'labelId',
through: 'CardLabel'
}
}
through: 'CardLabel',
},
},
};