blob: 8af9d88d4456a432e95fd929ebbf52ff2a764a02 (
plain) (
tree)
|
|
import * as Lint from 'tslint';
import * as ts from 'typescript';
import { AsyncSuffixWalker } from './walkers/async_suffix';
export class Rule extends Lint.Rules.AbstractRule {
public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
return this.applyWithWalker(new AsyncSuffixWalker(sourceFile, this.getOptions()));
}
}
|