commentFormatRule.d.ts 489B

123456789101112
  1. import * as ts from "typescript";
  2. import * as Lint from "../index";
  3. export declare class Rule extends Lint.Rules.AbstractRule {
  4. static metadata: Lint.IRuleMetadata;
  5. static LOWERCASE_FAILURE: string;
  6. static UPPERCASE_FAILURE: string;
  7. static LEADING_SPACE_FAILURE: string;
  8. static IGNORE_WORDS_FAILURE_FACTORY: (words: string[]) => string;
  9. static IGNORE_PATTERN_FAILURE_FACTORY: (pattern: string) => string;
  10. apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
  11. }