зеркало из https://github.com/microsoft/dtslint.git
fix lint
This commit is contained in:
Родитель
f22a4c47d4
Коммит
d5a73ab631
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "dtslint",
|
||||
"version": "3.4.2",
|
||||
"version": "3.5.0",
|
||||
"description": "Runs tests on TypeScript definition files",
|
||||
"files": [
|
||||
"bin",
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
Загрузка…
Ссылка в новой задаче