diff --git a/package.json b/package.json index 313d04b..6a06daf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dtslint", - "version": "3.4.2", + "version": "3.5.0", "description": "Runs tests on TypeScript definition files", "files": [ "bin", diff --git a/src/checks.ts b/src/checks.ts index 55b2636..1f39089 100644 --- a/src/checks.ts +++ b/src/checks.ts @@ -1,6 +1,6 @@ -import assert = require("assert"); import { makeTypesVersionsForPackageJson } from "@definitelytyped/header-parser"; import { TypeScriptVersion } from "@definitelytyped/typescript-versions"; +import assert = require("assert"); import { pathExists } from "fs-extra"; import { join as joinPaths } from "path"; diff --git a/src/index.ts b/src/index.ts index c252da8..218ace8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,12 @@ #!/usr/bin/env node +import { parseTypeScriptVersionLine } from "@definitelytyped/header-parser"; import { AllTypeScriptVersion, TypeScriptVersion } from "@definitelytyped/typescript-versions"; -import { parseTypeScriptVersionLine, } from "@definitelytyped/header-parser"; import { readdir, readFile, stat } from "fs-extra"; import { basename, dirname, join as joinPaths, resolve } from "path"; +import { cleanTypeScriptInstalls, installAllTypeScriptVersions, installTypeScriptNext } from "@definitelytyped/utils"; import { checkPackageJson, checkTsconfig } from "./checks"; -import { installAllTypeScriptVersions, installTypeScriptNext, cleanTypeScriptInstalls } from "@definitelytyped/utils"; import { checkTslintJson, lint, TsVersion } from "./lint"; import { assertDefined, last, mapDefinedAsync, withoutPrefix } from "./util"; diff --git a/src/lint.ts b/src/lint.ts index 5359274..a0f4190 100644 --- a/src/lint.ts +++ b/src/lint.ts @@ -1,6 +1,6 @@ -import assert = require("assert"); import { TypeScriptVersion } from "@definitelytyped/typescript-versions"; import { typeScriptPath } from "@definitelytyped/utils"; +import assert = require("assert"); import { pathExists } from "fs-extra"; import { join as joinPaths, normalize } from "path"; import { Configuration, ILinterOptions, Linter } from "tslint";