1 | import * as Lint from 'tslint';
|
2 | import * as ts from 'typescript';
|
3 | import { NgWalker } from './angular';
|
4 | import { F2 } from './util/function';
|
5 | export declare class Rule extends Lint.Rules.AbstractRule {
|
6 | static readonly metadata: Lint.IRuleMetadata;
|
7 | static readonly FAILURE_STRING = "The name of the class %s should end with the suffix %s (https://angular.io/styleguide#style-02-03)";
|
8 | static walkerBuilder: F2<ts.SourceFile, Lint.IOptions, NgWalker>;
|
9 | static validate(className: string, suffixList: string[]): boolean;
|
10 | apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
|
11 | }
|