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

Add destructuring syntax & support to no-unused-variable rule for parameter declarations #412

Merged
merged 1 commit into from
Jun 2, 2015
Merged

Add destructuring syntax & support to no-unused-variable rule for parameter declarations #412

merged 1 commit into from
Jun 2, 2015

Conversation

adidahiya
Copy link
Contributor

var nameNode = <ts.Identifier> node.name;
var variableName = nameNode.text;
var isSingleVariable = node.name.kind === ts.SyntaxKind.Identifier;
var isPropertyParameter = Lint.hasModifier(node.modifiers,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

gscshoyru added a commit that referenced this pull request Jun 2, 2015
…ters

Add destructuring syntax & support to no-unused-variable rule for parameter declarations
@gscshoyru gscshoyru merged commit 66cb6c0 into palantir:master Jun 2, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants