MCPcopy Create free account
hub / github.com/angular/components /

Class

tools/tslint-rules/noNestedTernaryRule.ts:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4/** Rule that enforces that ternary expressions aren't being nested. */
5export class Rule extends Lint.Rules.AbstractRule {
6 apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
7 return this.applyWithFunction(
8 sourceFile,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected