tslint.d.ts 462 B

123456789101112131415
  1. import { findConfiguration as config } from "./configuration";
  2. import { ILinterOptions, LintResult } from "./lint";
  3. declare class Linter {
  4. static VERSION: string;
  5. static findConfiguration: typeof config;
  6. private fileName;
  7. private source;
  8. private options;
  9. constructor(fileName: string, source: string, options: ILinterOptions);
  10. lint(): LintResult;
  11. private containsRule(rules, rule);
  12. }
  13. declare namespace Linter {
  14. }
  15. export = Linter;