simplr-tslint
Version:
A set of TSLint rules used in SimplrJS projects.
20 lines (19 loc) • 959 B
TypeScript
import * as ts from "typescript";
import * as Lint from "tslint";
export declare class Rule extends Lint.Rules.AbstractRule {
static readonly sep: string;
static readonly searchModulePath: string;
static readonly searchModulePathSplitter: string;
static readonly entryFailureString: string;
static readonly insideRelativeFailureString: string;
static readonly insideEntryFailureString: string;
static readonly forbiddenReexportAllFailureString: string;
static readonly moduleFilenameSuffix: string;
static readonly reexportPathRegex: RegExp;
static readonly reexportAllPathRegex: RegExp;
static resolveModuleFilename(moduleName: string): string;
apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
private static componentsEntryFilesCache;
static getComponentEntryFileFromCache(fileName: string): undefined | boolean;
static setComponentEntryFileToCache(fileName: string, value: boolean): void;
}