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 upClosing-brace indentation is not checked for object literals #959
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
stale
bot
closed this
May 17, 2018
feross
added
the
bug
label
May 20, 2018
feross
reopened this
May 20, 2018
stale
bot
removed
the
stale
label
May 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
js-choi commentedJul 27, 2017
•
edited
All this was tested using version 10.0.2 and can be demonstrated on the demo web page.
This code with an if block is Standard Style:
This code is not Standard Style; it violates
brace-style:This code with an object literal is Standard Style:
This presumably isn’t Standard Style; it probably ought to violate
brace-style:But Standard considers the final code block to also be valid Standard Style.