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

Remove method skip from RuleWalker #2313

Merged
merged 1 commit into from
Mar 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/language/walker/ruleWalker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ export class RuleWalker extends SyntaxWalker implements IWalker {
}
}

public skip(_node: ts.Node) {
return; // TODO remove this method in next major version
}

/** @deprecated Prefer `addFailureAt` and its variants. */
public createFailure(start: number, width: number, failure: string, fix?: Fix): RuleFailure {
const from = (start > this.limit) ? this.limit : start;
Expand Down