Skip to content

Commit

Permalink
get the exports rejiggered, fix the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Oct 13, 2015
1 parent 5299553 commit 611a135
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export interface ILinterOptions {
rulesDirectory: string;
}

export {Linter} from "./tslint";
export {default as Linter} from "./tslint";
2 changes: 1 addition & 1 deletion src/tslint-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import * as Linter from "./tslint";
import Linter from "./tslint";
import * as fs from "fs";
import * as optimist from "optimist";
let processed = optimist
Expand Down
2 changes: 1 addition & 1 deletion src/tslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import * as path from "path";
import {findConfiguration as config} from "./configuration";
const moduleDirectory = path.dirname(module.filename);

export class Linter {
export default class Linter {
public static VERSION = "2.5.1";
public static findConfiguration = config;

Expand Down
6 changes: 3 additions & 3 deletions test/lint.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from "../src/lint";
/* tslint:disable:no-unused */
// TODO: Remove comments when `export {Identifier}` is reocgnized as a usage
/* tslint:disable:no-unused-variable */
// todo: Remove comments when `export {Identifier}` is reocgnized as a usage
import * as Test from "./helper";
/* tslint:disable:no-unused */
/* tslint:disable:no-unused-variable */
export {Test};

0 comments on commit 611a135

Please sign in to comment.