Skip to content

Commit

Permalink
Renamed interface Formatter to IFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
DickvdBrink committed Jun 25, 2014
1 parent 6225449 commit 3f7776e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/tslint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6554,7 +6554,7 @@ declare module Lint.Configuration {
function findConfiguration(configFile: string): any;
}
declare module Lint {
interface Formatter {
interface IFormatter {
format(failures: Lint.RuleFailure[]): string;
}
}
Expand Down Expand Up @@ -10800,7 +10800,7 @@ declare module Lint {
function doesIntersect(failure: RuleFailure, disabledIntervals: IDisabledInterval[]): boolean;
}
declare module Lint.Formatters {
class AbstractFormatter implements Lint.Formatter {
class AbstractFormatter implements Lint.IFormatter {
public format(failures: Lint.RuleFailure[]): string;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/language/formatter/abstractFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// <reference path='formatter.ts' />

module Lint.Formatters {
export class AbstractFormatter implements Lint.Formatter {
export class AbstractFormatter implements Lint.IFormatter {
/* tslint:disable:no-unused-variable */
public format(failures: Lint.RuleFailure[]): string {
throw TypeScript.Errors.abstract();
Expand Down
2 changes: 1 addition & 1 deletion src/language/formatter/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// <reference-path='../rule/rule.ts'/>

module Lint {
export interface Formatter {
export interface IFormatter {
format(failures: Lint.RuleFailure[]): string;
}
}
2 changes: 1 addition & 1 deletion src/tslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module Lint {
}
}

var formatter: Lint.Formatter;
var formatter: Lint.IFormatter;
var formattersDirectory = this.getRelativePath(this.options.formattersDirectory);

var Formatter = Lint.findFormatter(this.options.formatter, formattersDirectory);
Expand Down

0 comments on commit 3f7776e

Please sign in to comment.