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: key-spacing checks ObjectExpression is multiline (fixes #5479) #5482

Merged
merged 1 commit into from
Mar 5, 2016

Conversation

platinumazure
Copy link
Member

Pretty simple fix in the end, just needed to ensure the whole ObjectExpression was passed to the line count checker.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @rpatil26, @btmills and @BYK to be potential reviewers

@eslintbot
Copy link

LGTM

@platinumazure
Copy link
Member Author

@btmills Maybe you'll want to review this? I wasn't sure if I should add an assertion on node type (i.e., ensure isSingleLine is only called with "ObjectExpression" nodes), do let me know if you think I should add something like that.

@btmills
Copy link
Member

btmills commented Mar 5, 2016

LGTM. I don't think we need an assertion unless issues like this become more common.

btmills added a commit that referenced this pull request Mar 5, 2016
Fix: key-spacing checks ObjectExpression is multiline (fixes #5479)
@btmills btmills merged commit 77f5787 into eslint:master Mar 5, 2016
@platinumazure platinumazure deleted the key-spacing-fix-multiline branch June 12, 2016 23:00
@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.

None yet

4 participants