Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
berickson1 committed Sep 6, 2017
1 parent fe3d30f commit 23a59e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rules/orderedImportsRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,18 @@ const TRANSFORMS = new Map<string, Transform>([
["lowercase-last", (x) => x],
["full-path", (x) => x],
["module-name", (x) => {
const splitIndex = x.lastIndexOf('/');
const splitIndex = x.lastIndexOf("/");
if (splitIndex === -1) {
return x;
}
return x.substr(splitIndex + 1);
}]
}],
]);

interface Options {
importSourcesOrderTransform: Transform;
moduleSourcePath: Transform;
namedImportsOrderTransform: Transform;
moduleSourcePath: Transform
}

interface JsonOptions {
Expand Down

0 comments on commit 23a59e8

Please sign in to comment.