UNPKG

tslint-folders

Version:

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

11 lines (10 loc) 448 B
import * as Lint from "tslint"; import * as ts from "typescript"; /** Custom version of the standard file-name-casing rule, that allows for *multiple* casings. * ref: https://github.com/palantir/tslint/blob/master/src/rules/fileNameCasingRule.ts */ export declare class Rule extends Lint.Rules.AbstractRule { private static FAILURE_STRING; private static stylizedNameForCasing; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; }