remove tslint configuration

This commit is contained in:
Alexander T
2019-06-27 13:49:35 +03:00
parent 136f4cfc0f
commit 769bb0b475
42 changed files with 30 additions and 97 deletions

View File

@@ -420,7 +420,6 @@ namespace ts {
const packageJsonPath = combinePaths(root, normalized, "package.json");
// `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types.
// See `createNotNeededPackageJSON` in the types-publisher` repo.
// tslint:disable-next-line:no-null-keyword
const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null;
if (!isNotNeededPackage) {
const baseFileName = getBaseFileName(normalized);
@@ -977,7 +976,7 @@ namespace ts {
if (traceEnabled) {
trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);
}
Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`); // tslint:disable-line
Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);
return real;
}