UNPKG

tslint-folders

Version:

Custom TSLint rules for checking imports between packages and their folders, and generating relevant diagrams.

8 lines (7 loc) 255 B
import * as Lint from "tslint"; import * as ts from "typescript"; export declare class Rule extends Lint.Rules.AbstractRule { static FAILURE_STRING: string; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; private getDisallowedFolders; }