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:
parent
b7f37f0f96
commit
a11f6260c0
191 changed files with 4321 additions and 2880 deletions
|
@ -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',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue