(sourceFile: ts.SourceFile)
| 56 | */ |
| 57 | export class Rule extends AbstractRule { |
| 58 | override apply(sourceFile: ts.SourceFile): RuleFailure[] { |
| 59 | const options = this.getOptions().ruleArguments[0]; |
| 60 | return this.applyWithFunction(sourceFile, (ctx) => visitNode(sourceFile, ctx, options)); |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | function visitNode(node: ts.Node, ctx: WalkContext, options: RuleOptions) { |
nothing calls this directly
no test coverage detected