Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: overindent in VariableDeclarator parens or brackets (fixes #5492) #5509

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

dgreensp
Copy link
Contributor

@dgreensp dgreensp commented Mar 7, 2016

No description provided.

@eslintbot
Copy link

Thanks for the pull request, @dgreensp! I took a look to make sure it's ready for merging and found some changes are needed:

  • The commit summary needs to begin with a tag (such as Fix: or Update:). Please check out our guide for how to properly format your commit summary and update it on this pull request.
  • Please sign our CLA. This is just a way for you to say that you give us permission to use your contribution.

Can you please update the pull request to address these?

(More information can be found in our pull request guide.)

@gyandeeps
Copy link
Member

LGTM. Thanks for the PR.

@gyandeeps
Copy link
Member

ping @BYK

@BYK
Copy link
Member

BYK commented Mar 7, 2016

I feel like someone else's gonna complain about this change so not sure if this should be behind an option (no idea what that will be). Also commit log needs to be fixed, see @eslintbot please @dgreensp :)

@dgreensp dgreensp changed the title Fix overindent in VariableDeclarator parens or brackets (fixes #5492) Fix: overindent in VariableDeclarator parens or brackets (fixes #5492) Mar 7, 2016
@dgreensp
Copy link
Contributor Author

dgreensp commented Mar 7, 2016

@BYK I don't think there's anything controversial here. All the existing tests pass except one -- so people still get their hanging braces, etc. etc. -- and this one test was added by you, I think, while fixing #3329, but the original user report actually expects a single indent here, not a double indent, so the test isn't evidence of some other opinion or intention. Anyway, it's hard to imagine an editor or IDE putting a double or triple indent after a trailing bracket.

I think I fixed the bot errors; let me know if not!

@BYK
Copy link
Member

BYK commented Mar 8, 2016

Meh, I'm indifferent since I find this exception case weird anyways. I was simply warning you that this would probably break someone else's preference.

If @gyandeeps is okay, the code looks good.

@gyandeeps
Copy link
Member

@dgreensp Have signed our CLA?

@ilyavolodin
Copy link
Member

Yes, verified CLA. Good to merge?

gyandeeps added a commit that referenced this pull request Mar 8, 2016
Fix: overindent in VariableDeclarator parens or brackets (fixes #5492)
@gyandeeps gyandeeps merged commit 8447e70 into eslint:master Mar 8, 2016
@gyandeeps
Copy link
Member

thanks @ilyavolodin for confirmation .

@dgreensp
Copy link
Contributor Author

dgreensp commented Mar 8, 2016

Woot!! Thanks guys!

@ffxsam
Copy link

ffxsam commented Mar 8, 2016

@dgreensp You rock!

@gyandeeps
Copy link
Member

Thanks for the PR. 👍

@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants