1 | import { IRuleMetadata, RuleFailure } from 'tslint';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript';
|
4 | export declare class Rule extends AbstractRule {
|
5 | static readonly metadata: IRuleMetadata;
|
6 | static readonly FAILURE_STRING_ATTR = "Missing custom message identifier. For more information visit https://angular.io/guide/i18n";
|
7 | static readonly FAILURE_STRING_TEXT = "Each element containing text node should have an i18n attribute";
|
8 | apply(sourceFile: SourceFile): RuleFailure[];
|
9 | isEnabled(): boolean;
|
10 | }
|