[help wanted] arguments are not aligned
Closed this issue · 2 comments
keerthivasan-r commented
Hi,
I have a function that has arguments in this format
default: Date.now,
type: Date,
},
},
{
collection: 'TransactionRequestAttributes',
versionKey: false,
},
);```
I get the error 'arguments are not aligned' in the second argument in the above method. Is there a better way to configure the vscode formatting that complies with airbnb formatter and help in the dev workflow? Thanks for your time and help
progre commented
your code is too short.
my understanding;
funktion({
something: {
default: Date.now,
type: Date,
},
},
{
collection: 'TransactionRequestAttributes',
versionKey: false,
},
);
i write as follows;
funktion(
{
something: {
default: Date.now,
type: Date,
},
},
{
collection: 'TransactionRequestAttributes',
versionKey: false,
},
);
keerthivasan-r commented
It's a huge file. the above parts were irrelevant. so, i just showed the necessary details. yes, your understanding is right. Bringing the first argument open brace {
to the next line solved the problem. Thanks for the timely help