Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upMisaligned indentation for wrapped object parameter #1050
Comments
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
May 10, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
May 10, 2018
This comment has been minimized.
This comment has been minimized.
|
@pgraham Thanks for opening this issue. Sorry that you never got a timely response. I just double-checked and it looks like this issue was fixed in const { argv } = require('yargs')
.command(
['status', '$0'],
'The status command, very useful.',
{
builder: {},
handler: argv => {
console.log('Status:')
}
}
)
.help().argv |
stale
bot
removed
the
stale
label
May 11, 2018
feross
closed this
May 11, 2018
feross
added
the
question
label
May 11, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Aug 9, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
pgraham commentedJan 26, 2018
I'm seeing a function call that requires multiple parameters, one of which is an object literal, with unexpected indentation for the object literal:
I'm expecting the braces of the object literal to be aligned with previous string arguments. Is this expected? If so, what's the reason for using a different indentation level for the object literal parameter?