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

no-unused-variable: Also delete trailing comments for imports. #3156

Merged
merged 1 commit into from Aug 24, 2017

Conversation

bowenni
Copy link
Contributor

@bowenni bowenni commented Aug 24, 2017

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Enhancement for "no-unused-variable" fixer: Delete trailing comments when deleting an import declaration. Keep the leading comments to prevent deleting licenses.

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

CHANGELOG.md entry:

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint, @bowenni! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

@bowenni
Copy link
Contributor Author

bowenni commented Aug 24, 2017

I am covered by the Google corporate CLA.

@adidahiya adidahiya merged commit e832ede into palantir:master Aug 24, 2017
@adidahiya adidahiya added this to the TSLint v5.7 milestone Aug 24, 2017
@bowenni bowenni deleted the no-unused-variable-comments branch August 28, 2017 16:56
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

3 participants