зеркало из https://github.com/microsoft/dtslint.git
fix lint
This commit is contained in:
Родитель
f22a4c47d4
Коммит
d5a73ab631
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dtslint",
|
"name": "dtslint",
|
||||||
"version": "3.4.2",
|
"version": "3.5.0",
|
||||||
"description": "Runs tests on TypeScript definition files",
|
"description": "Runs tests on TypeScript definition files",
|
||||||
"files": [
|
"files": [
|
||||||
"bin",
|
"bin",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import assert = require("assert");
|
|
||||||
import { makeTypesVersionsForPackageJson } from "@definitelytyped/header-parser";
|
import { makeTypesVersionsForPackageJson } from "@definitelytyped/header-parser";
|
||||||
import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
||||||
|
import assert = require("assert");
|
||||||
import { pathExists } from "fs-extra";
|
import { pathExists } from "fs-extra";
|
||||||
import { join as joinPaths } from "path";
|
import { join as joinPaths } from "path";
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
import { parseTypeScriptVersionLine } from "@definitelytyped/header-parser";
|
||||||
import { AllTypeScriptVersion, TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
import { AllTypeScriptVersion, TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
||||||
import { parseTypeScriptVersionLine, } from "@definitelytyped/header-parser";
|
|
||||||
import { readdir, readFile, stat } from "fs-extra";
|
import { readdir, readFile, stat } from "fs-extra";
|
||||||
import { basename, dirname, join as joinPaths, resolve } from "path";
|
import { basename, dirname, join as joinPaths, resolve } from "path";
|
||||||
|
|
||||||
|
import { cleanTypeScriptInstalls, installAllTypeScriptVersions, installTypeScriptNext } from "@definitelytyped/utils";
|
||||||
import { checkPackageJson, checkTsconfig } from "./checks";
|
import { checkPackageJson, checkTsconfig } from "./checks";
|
||||||
import { installAllTypeScriptVersions, installTypeScriptNext, cleanTypeScriptInstalls } from "@definitelytyped/utils";
|
|
||||||
import { checkTslintJson, lint, TsVersion } from "./lint";
|
import { checkTslintJson, lint, TsVersion } from "./lint";
|
||||||
import { assertDefined, last, mapDefinedAsync, withoutPrefix } from "./util";
|
import { assertDefined, last, mapDefinedAsync, withoutPrefix } from "./util";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import assert = require("assert");
|
|
||||||
import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
|
||||||
import { typeScriptPath } from "@definitelytyped/utils";
|
import { typeScriptPath } from "@definitelytyped/utils";
|
||||||
|
import assert = require("assert");
|
||||||
import { pathExists } from "fs-extra";
|
import { pathExists } from "fs-extra";
|
||||||
import { join as joinPaths, normalize } from "path";
|
import { join as joinPaths, normalize } from "path";
|
||||||
import { Configuration, ILinterOptions, Linter } from "tslint";
|
import { Configuration, ILinterOptions, Linter } from "tslint";
|
||||||
|
|
Загрузка…
Ссылка в новой задаче