Skip to content

Commit 1fe7d3f

Browse files
committed
Yep, another unused function in preferConstRule
1 parent b142bfc commit 1fe7d3f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/tslint/preferConstRule.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ export class Rule extends Lint.Rules.AbstractRule {
99
}
1010
}
1111

12-
function isBindingPattern(node: ts.Node): node is ts.BindingPattern {
13-
return !!node && (node.kind === ts.SyntaxKind.ArrayBindingPattern || node.kind === ts.SyntaxKind.ObjectBindingPattern);
14-
}
15-
1612
function isLet(node: ts.Node) {
1713
return !!(ts.getCombinedNodeFlags(node) & ts.NodeFlags.Let);
1814
}

0 commit comments

Comments
 (0)