Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

object-literal-shorthand: various optimizations #3273

Merged
merged 1 commit into from Oct 19, 2017
Merged

object-literal-shorthand: various optimizations #3273

merged 1 commit into from Oct 19, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Oct 3, 2017

PR checklist

Overview of change:

I didn't want to occupy @aervin even more with my optimization ideas. So I made a follow-up to address certain things:

  • removed a return in disallowShorthandWalker that shouldn't be there and I missed during review, added a test case
  • simplified the fix for shorthand -> longhand method
  • narrowed the error location of longhand method
  • added a test case for destructuring assignment

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

[no-log]

@adidahiya adidahiya merged commit fba8e2a into palantir:master Oct 19, 2017
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this pull request Apr 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants