ng-alain-codelyzer
Version:
Linting for ng-alain
17 lines (16 loc) • 653 B
TypeScript
import * as Lint from 'tslint';
import * as ts from 'typescript';
export declare const IMPORT_SEP = "/";
export interface PathMapping {
prefix: string;
allowSubdirectories: boolean;
}
export declare class Rule extends Lint.Rules.AbstractRule {
pathMappings: PathMapping[];
fileSplitWord: string;
static readonly metadata: Lint.IRuleMetadata;
static readonly FAILURE_STRING = "Use the @Input property decorator instead of the inputs property";
constructor(options: Lint.IOptions);
apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
}
export declare const getFailureMessage: (newText: string) => string;