simplr-tslint
Version:
A set of TSLint rules used in SimplrJS projects.
17 lines (16 loc) • 750 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[];
}