Skip to content

Commit 72be905

Browse files
committed
refactor(tsfmt): fix some styles
1 parent 566feda commit 72be905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/provider/tslintjson.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as ts from "typescript";
2-
import { IOptions } from "tslint";
2+
import { IOptions as TslintOptions } from "tslint";
33
import * as path from "path";
44

55
import { Options } from "../";
@@ -73,10 +73,10 @@ export async function postProcess(fileName: string, formattedCode: string, opts:
7373
return formattedCode;
7474
}
7575

76-
async function getRules(fileName: string, opts: Options): Promise<Map<string, Partial<IOptions>> | undefined> {
76+
async function getRules(fileName: string, opts: Options): Promise<Map<string, Partial<TslintOptions>> | undefined> {
7777
const baseDir = opts.baseDir ? path.resolve(opts.baseDir) : path.dirname(path.resolve(fileName));
78-
let configFileName: string | null;
7978

79+
let configFileName: string | null;
8080
if (opts.tslintFile && path.isAbsolute(opts.tslintFile)) {
8181
configFileName = opts.tslintFile;
8282
} else {

0 commit comments

Comments
 (0)