From 716e7a971fca51b688de164a3d2c7c214aa68f64 Mon Sep 17 00:00:00 2001 From: Stephen Weatherford Date: Wed, 4 May 2022 15:26:26 -0700 Subject: [PATCH 1/2] Move rimraf to dev dep --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 34113a979..7054a9892 100644 --- a/package.json +++ b/package.json @@ -641,6 +641,7 @@ "gulp": "^4.0.2", "mocha": "^8.2.1", "recursive-readdir": "^2.2.2", + "rimraf": "3.0.2", "source-map-support": "^0.5.12", "ts-node": "^8.10.2", "tslint": "^5.1.0", @@ -659,7 +660,6 @@ "moment": "^2.29.2", "nuget": "^2.0.2", "opn": "^5.5.0", - "rimraf": "2.6.3", "shelljs": "^0.8.5", "strip-json-comments": "^3.1.1", "vscode-azureextensionui": "^0.35.2", From 6ac5f4eab03a949e1944b24f19846acb56a3cb82 Mon Sep 17 00:00:00 2001 From: Stephen Weatherford Date: Thu, 5 May 2022 15:58:36 -0700 Subject: [PATCH 2/2] lint --- test/global.test.ts | 4 ++-- test/support/cache.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/global.test.ts b/test/global.test.ts index 472232ede..602d7ffea 100644 --- a/test/global.test.ts +++ b/test/global.test.ts @@ -3,6 +3,8 @@ * Licensed under the MIT License. See LICENSE.md in the project root for license information. *--------------------------------------------------------------------------------------------*/ +// tslint:disable:no-console no-function-expression no-implicit-dependencies + import * as fse from 'fs-extra'; import * as mocha from 'mocha'; import * as path from 'path'; @@ -19,8 +21,6 @@ import { useTestSnippets } from './support/TestSnippets'; import { logsFolder } from './testConstants'; import { useTestFunctionMetadata } from "./TestData"; -// tslint:disable:no-console no-function-expression - let previousSettings = { autoDetectJsonTemplates: undefined, fileAssociations: <{ [key: string]: string }>{} diff --git a/test/support/cache.ts b/test/support/cache.ts index bb818c496..55f21a8e1 100644 --- a/test/support/cache.ts +++ b/test/support/cache.ts @@ -3,6 +3,8 @@ * Licensed under the MIT License. See License.md in the project root for license information. *--------------------------------------------------------------------------------------------*/ +// tslint:disable: no-implicit-dependencies + import * as fse from 'fs-extra'; import * as os from 'os'; import * as path from 'path';