diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js index 1d9c521ba3..ac633fea72 100644 --- a/build/gulpfile.hygiene.js +++ b/build/gulpfile.hygiene.js @@ -92,11 +92,10 @@ const indentationFilter = [ '!**/*.dockerfile', '!extensions/markdown-language-features/media/*.js', // {{SQL CARBON EDIT}} - '!**/*.xlf', - '!**/*.docx', - '!**/*.sql', + '!**/*.{xlf,docx,sql,vsix}', '!extensions/mssql/sqltoolsservice/**', '!extensions/import/flatfileimportservice/**', + '!extensions/admin-tool-ext-win/ssmsmin/**' ]; const copyrightFilter = [ @@ -184,6 +183,11 @@ const tslintFilter = [ '!extensions/html-language-features/server/lib/jquery.d.ts' ]; +// {{SQL CARBON EDIT}} +const useStrictFilter = [ + 'src/**' +]; + // {{SQL CARBON EDIT}} const copyrightHeaderLines = [ '/*---------------------------------------------------------------------------------------------', @@ -234,8 +238,8 @@ function hygiene(some) { }); const copyrights = es.through(function (file) { - const lines = file.__lines; + const lines = file.__lines; for (let i = 0; i < copyrightHeaderLines.length; i++) { if (lines[i] !== copyrightHeaderLines[i]) { console.error(file.relative + ': Missing or bad copyright statement'); @@ -247,6 +251,23 @@ function hygiene(some) { this.emit('data', file); }); + // {{SQL CARBON EDIT}} + // Check for unnecessary 'use strict' lines. These are automatically added by the alwaysStrict compiler option so don't need to be added manually + const useStrict = es.through(function (file) { + const lines = file.__lines; + // Only take the first 10 lines to reduce false positives- the compiler will throw an error if it's not the first non-comment line in a file + // (10 is used to account for copyright and extraneous newlines) + lines.slice(0,10).forEach((line, i) => { + if (/\s*'use\s*strict\s*'/.test(line)) { + console.error(file.relative + '(' + (i + 1) + ',1): Unnecessary \'use strict\' - this is already added by the compiler'); + errorCount++; + } + }); + + this.emit('data', file); + }); + // {{SQL CARBON EDIT}} END + const formatting = es.map(function (file, cb) { tsfmt.processString(file.path, file.contents.toString('utf8'), { verify: false, @@ -305,7 +326,10 @@ function hygiene(some) { const typescript = result .pipe(filter(tslintFilter)) .pipe(formatting) - .pipe(tsl); + .pipe(tsl) + // {{SQL CARBON EDIT}} + .pipe(filter(useStrictFilter)) + .pipe(useStrict); const javascript = result .pipe(filter(eslintFilter)) diff --git a/src/sql/platform/backup/common/backupService.ts b/src/sql/platform/backup/common/backupService.ts index afe42f34fb..dc5e816fe4 100644 --- a/src/sql/platform/backup/common/backupService.ts +++ b/src/sql/platform/backup/common/backupService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import * as azdata from 'azdata'; diff --git a/src/sql/platform/clipboard/common/clipboardService.ts b/src/sql/platform/clipboard/common/clipboardService.ts index e158e364fe..6e081bccb3 100644 --- a/src/sql/platform/clipboard/common/clipboardService.ts +++ b/src/sql/platform/clipboard/common/clipboardService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IClipboardService as vsIClipboardService } from 'vs/platform/clipboard/common/clipboardService'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/platform/clipboard/electron-browser/clipboardService.ts b/src/sql/platform/clipboard/electron-browser/clipboardService.ts index 193712681f..7ecc806237 100644 --- a/src/sql/platform/clipboard/electron-browser/clipboardService.ts +++ b/src/sql/platform/clipboard/electron-browser/clipboardService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IClipboardService } from 'sql/platform/clipboard/common/clipboardService'; import { IClipboardService as vsIClipboardService } from 'vs/platform/clipboard/common/clipboardService'; import { clipboard, nativeImage } from 'electron'; diff --git a/src/sql/platform/connection/common/connectionProfileGroup.ts b/src/sql/platform/connection/common/connectionProfileGroup.ts index d6e02458e0..26d8162638 100644 --- a/src/sql/platform/connection/common/connectionProfileGroup.ts +++ b/src/sql/platform/connection/common/connectionProfileGroup.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { ConnectionProfile } from 'sql/platform/connection/common/connectionProfile'; export interface IConnectionProfileGroup { diff --git a/src/sql/platform/connection/common/interfaces.ts b/src/sql/platform/connection/common/interfaces.ts index 361ea2f7c9..8378aa1f27 100644 --- a/src/sql/platform/connection/common/interfaces.ts +++ b/src/sql/platform/connection/common/interfaces.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; export interface IConnectionProfile extends azdata.IConnectionProfile { diff --git a/src/sql/platform/connection/common/utils.ts b/src/sql/platform/connection/common/utils.ts index 38936279ba..c5ae648c1a 100644 --- a/src/sql/platform/connection/common/utils.ts +++ b/src/sql/platform/connection/common/utils.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IConnectionProfile } from 'sql/platform/connection/common/interfaces'; import { ConnectionProfile } from 'sql/platform/connection/common/connectionProfile'; import { ConnectionProfileGroup } from 'sql/platform/connection/common/connectionProfileGroup'; diff --git a/src/sql/platform/connection/test/common/connectionConfig.test.ts b/src/sql/platform/connection/test/common/connectionConfig.test.ts index 73c65e74da..539fa66b48 100644 --- a/src/sql/platform/connection/test/common/connectionConfig.test.ts +++ b/src/sql/platform/connection/test/common/connectionConfig.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import { ICapabilitiesService, ProviderFeatures } from 'sql/platform/capabilities/common/capabilitiesService'; diff --git a/src/sql/platform/credentials/common/credentialsService.ts b/src/sql/platform/credentials/common/credentialsService.ts index b2e3f4a067..ee9b7c86cb 100644 --- a/src/sql/platform/credentials/common/credentialsService.ts +++ b/src/sql/platform/credentials/common/credentialsService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import * as azdata from 'azdata'; diff --git a/src/sql/platform/credentials/test/common/testCredentialsService.ts b/src/sql/platform/credentials/test/common/testCredentialsService.ts index c1bea76556..97bff2ba82 100644 --- a/src/sql/platform/credentials/test/common/testCredentialsService.ts +++ b/src/sql/platform/credentials/test/common/testCredentialsService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { ICredentialsService, CredentialManagementEvents } from 'sql/platform/credentials/common/credentialsService'; import { Credential } from 'azdata'; import { IDisposable } from 'vs/base/common/lifecycle'; diff --git a/src/sql/platform/dacfx/common/dacFxService.ts b/src/sql/platform/dacfx/common/dacFxService.ts index ace6b445a5..446e91ddcf 100644 --- a/src/sql/platform/dacfx/common/dacFxService.ts +++ b/src/sql/platform/dacfx/common/dacFxService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement'; diff --git a/src/sql/platform/dashboard/browser/dashboardService.ts b/src/sql/platform/dashboard/browser/dashboardService.ts index 59105ac2d3..c35515ab40 100644 --- a/src/sql/platform/dashboard/browser/dashboardService.ts +++ b/src/sql/platform/dashboard/browser/dashboardService.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { Event } from 'vs/base/common/event'; diff --git a/src/sql/platform/dashboard/browser/dashboardServiceImpl.ts b/src/sql/platform/dashboard/browser/dashboardServiceImpl.ts index f594f3479f..6f7d2496ac 100644 --- a/src/sql/platform/dashboard/browser/dashboardServiceImpl.ts +++ b/src/sql/platform/dashboard/browser/dashboardServiceImpl.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IDashboardService } from './dashboardService'; import { Event, Emitter } from 'vs/base/common/event'; diff --git a/src/sql/platform/dashboard/common/dashboardViewService.ts b/src/sql/platform/dashboard/common/dashboardViewService.ts index 8640a6dd41..4bc4ab4a72 100644 --- a/src/sql/platform/dashboard/common/dashboardViewService.ts +++ b/src/sql/platform/dashboard/common/dashboardViewService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { Event } from 'vs/base/common/event'; diff --git a/src/sql/platform/dashboard/common/dashboardViewServiceImpl.ts b/src/sql/platform/dashboard/common/dashboardViewServiceImpl.ts index 3e2558cfa2..39a2594c5e 100644 --- a/src/sql/platform/dashboard/common/dashboardViewServiceImpl.ts +++ b/src/sql/platform/dashboard/common/dashboardViewServiceImpl.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IDashboardViewService, IDashboardWebview } from 'sql/platform/dashboard/common/dashboardViewService'; import { Event, Emitter } from 'vs/base/common/event'; import { IModelView } from 'sql/platform/model/common/modelViewService'; diff --git a/src/sql/platform/dialog/dialog.module.ts b/src/sql/platform/dialog/dialog.module.ts index 45fc273b0c..582725fd99 100644 --- a/src/sql/platform/dialog/dialog.module.ts +++ b/src/sql/platform/dialog/dialog.module.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import 'vs/css!./media/dialogModal'; import { forwardRef, NgModule, ComponentFactoryResolver, Inject, ApplicationRef } from '@angular/core'; diff --git a/src/sql/platform/dialog/dialogContainer.component.ts b/src/sql/platform/dialog/dialogContainer.component.ts index eea549f111..96f5ab4ac7 100644 --- a/src/sql/platform/dialog/dialogContainer.component.ts +++ b/src/sql/platform/dialog/dialogContainer.component.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import 'vs/css!./media/dialogModal'; import { Component, ViewChild, Inject, forwardRef, ElementRef, AfterViewInit } from '@angular/core'; import { ModelViewContent } from 'sql/workbench/electron-browser/modelComponents/modelViewContent.component'; diff --git a/src/sql/platform/dialog/dialogTypes.ts b/src/sql/platform/dialog/dialogTypes.ts index 5b1ede09d7..c6265e457a 100644 --- a/src/sql/platform/dialog/dialogTypes.ts +++ b/src/sql/platform/dialog/dialogTypes.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { localize } from 'vs/nls'; import { Event, Emitter } from 'vs/base/common/event'; diff --git a/src/sql/platform/dialog/wizardNavigation.component.ts b/src/sql/platform/dialog/wizardNavigation.component.ts index fe54aa6076..cbb775d7e2 100644 --- a/src/sql/platform/dialog/wizardNavigation.component.ts +++ b/src/sql/platform/dialog/wizardNavigation.component.ts @@ -3,15 +3,12 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import 'vs/css!./media/wizardNavigation'; import { Component, Inject, forwardRef, ElementRef, AfterViewInit, ChangeDetectorRef, ViewChild } from '@angular/core'; import { IBootstrapParams } from 'sql/platform/bootstrap/node/bootstrapService'; import { Event, Emitter } from 'vs/base/common/event'; import { Wizard } from './dialogTypes'; import { IWorkbenchThemeService } from 'vs/workbench/services/themes/common/workbenchThemeService'; -import { attachStyler } from 'vs/platform/theme/common/styler'; import { SIDE_BAR_BACKGROUND } from 'vs/workbench/common/theme'; export class WizardNavigationParams implements IBootstrapParams { diff --git a/src/sql/platform/errorMessage/common/errorMessageService.ts b/src/sql/platform/errorMessage/common/errorMessageService.ts index df30a18b29..ef3d4b03cd 100644 --- a/src/sql/platform/errorMessage/common/errorMessageService.ts +++ b/src/sql/platform/errorMessage/common/errorMessageService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import Severity from 'vs/base/common/severity'; import { IAction } from 'vs/base/common/actions'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/platform/fileBrowser/common/interfaces.ts b/src/sql/platform/fileBrowser/common/interfaces.ts index 8a1098e809..49810747e9 100644 --- a/src/sql/platform/fileBrowser/common/interfaces.ts +++ b/src/sql/platform/fileBrowser/common/interfaces.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { FileBrowserTree } from 'sql/workbench/services/fileBrowser/common/fileBrowserTree'; import { FileNode } from 'sql/workbench/services/fileBrowser/common/fileNode'; diff --git a/src/sql/platform/jobManagement/common/interfaces.ts b/src/sql/platform/jobManagement/common/interfaces.ts index d5aff9d179..c1473ec492 100644 --- a/src/sql/platform/jobManagement/common/interfaces.ts +++ b/src/sql/platform/jobManagement/common/interfaces.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { JobCacheObject, AlertsCacheObject, ProxiesCacheObject, OperatorsCacheObject } from './jobManagementService'; diff --git a/src/sql/platform/jobManagement/common/jobManagementService.ts b/src/sql/platform/jobManagement/common/jobManagementService.ts index e703ac2533..b6ead47051 100644 --- a/src/sql/platform/jobManagement/common/jobManagementService.ts +++ b/src/sql/platform/jobManagement/common/jobManagementService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { localize } from 'vs/nls'; import * as azdata from 'azdata'; import { IJobManagementService } from 'sql/platform/jobManagement/common/interfaces'; diff --git a/src/sql/platform/jobManagement/common/jobManagementUtilities.ts b/src/sql/platform/jobManagement/common/jobManagementUtilities.ts index 61450af10a..0979d5fd49 100644 --- a/src/sql/platform/jobManagement/common/jobManagementUtilities.ts +++ b/src/sql/platform/jobManagement/common/jobManagementUtilities.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as nls from 'vs/nls'; export class JobManagementUtilities { diff --git a/src/sql/platform/model/common/modelViewService.ts b/src/sql/platform/model/common/modelViewService.ts index 582abb6f73..ee29120d50 100644 --- a/src/sql/platform/model/common/modelViewService.ts +++ b/src/sql/platform/model/common/modelViewService.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import { IItemConfig, IComponentShape } from 'sql/workbench/api/common/sqlExtHostTypes'; import { IComponentEventArgs } from 'sql/workbench/electron-browser/modelComponents/interfaces'; diff --git a/src/sql/platform/modelComponents/common/modelViewService.ts b/src/sql/platform/modelComponents/common/modelViewService.ts index 9f1319db2e..798679dd87 100644 --- a/src/sql/platform/modelComponents/common/modelViewService.ts +++ b/src/sql/platform/modelComponents/common/modelViewService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { Event } from 'vs/base/common/event'; diff --git a/src/sql/platform/modelComponents/common/modelViewServiceImpl.ts b/src/sql/platform/modelComponents/common/modelViewServiceImpl.ts index aab6218448..d701ace085 100644 --- a/src/sql/platform/modelComponents/common/modelViewServiceImpl.ts +++ b/src/sql/platform/modelComponents/common/modelViewServiceImpl.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IModelViewService } from 'sql/platform/modelComponents/common/modelViewService'; import { Event, Emitter } from 'vs/base/common/event'; import { IModelView } from 'sql/platform/model/common/modelViewService'; diff --git a/src/sql/platform/restore/common/mssqlRestoreInfo.ts b/src/sql/platform/restore/common/mssqlRestoreInfo.ts index b5492f1dfd..aa46c39683 100644 --- a/src/sql/platform/restore/common/mssqlRestoreInfo.ts +++ b/src/sql/platform/restore/common/mssqlRestoreInfo.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; export class MssqlRestoreInfo implements azdata.RestoreInfo { diff --git a/src/sql/platform/restore/common/restoreService.ts b/src/sql/platform/restore/common/restoreService.ts index a8edce5070..974ce1680c 100644 --- a/src/sql/platform/restore/common/restoreService.ts +++ b/src/sql/platform/restore/common/restoreService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import * as azdata from 'azdata'; diff --git a/src/sql/platform/schemaCompare/common/schemaCompareService.ts b/src/sql/platform/schemaCompare/common/schemaCompareService.ts index e10c5dd244..8078512edf 100644 --- a/src/sql/platform/schemaCompare/common/schemaCompareService.ts +++ b/src/sql/platform/schemaCompare/common/schemaCompareService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement'; diff --git a/src/sql/platform/serialization/common/serializationService.ts b/src/sql/platform/serialization/common/serializationService.ts index 12f3c2efc4..aa81a00e12 100644 --- a/src/sql/platform/serialization/common/serializationService.ts +++ b/src/sql/platform/serialization/common/serializationService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement'; diff --git a/src/sql/platform/serverGroup/common/serverGroupController.ts b/src/sql/platform/serverGroup/common/serverGroupController.ts index c8cfbb7a07..a2c9f3a3e9 100644 --- a/src/sql/platform/serverGroup/common/serverGroupController.ts +++ b/src/sql/platform/serverGroup/common/serverGroupController.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement'; diff --git a/src/sql/workbench/api/electron-browser/mainThreadModalDialog.ts b/src/sql/workbench/api/electron-browser/mainThreadModalDialog.ts index 3e0659c45c..413343ae24 100644 --- a/src/sql/workbench/api/electron-browser/mainThreadModalDialog.ts +++ b/src/sql/workbench/api/electron-browser/mainThreadModalDialog.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; + import 'vs/css!sql/media/icons/common-icons'; import { WebViewDialog } from 'sql/workbench/parts/webview/electron-browser/webViewDialog'; diff --git a/src/sql/workbench/api/electron-browser/mainThreadTasks.ts b/src/sql/workbench/api/electron-browser/mainThreadTasks.ts index d737997f37..f6ca9e1dff 100644 --- a/src/sql/workbench/api/electron-browser/mainThreadTasks.ts +++ b/src/sql/workbench/api/electron-browser/mainThreadTasks.ts @@ -2,15 +2,13 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; + import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers'; import { TaskRegistry, ITaskHandlerDescription } from 'sql/platform/tasks/common/tasks'; import { IDisposable } from 'vs/base/common/lifecycle'; import { IExtHostContext } from 'vs/workbench/api/common/extHost.protocol'; import { - ExtHostAccountManagementShape, - MainThreadAccountManagementShape, SqlExtHostContext, SqlMainContext, ExtHostTasksShape, diff --git a/src/sql/workbench/api/electron-browser/sqlExtensionHost.contribution.ts b/src/sql/workbench/api/electron-browser/sqlExtensionHost.contribution.ts index 4d1ba02601..91c1b1982b 100644 --- a/src/sql/workbench/api/electron-browser/sqlExtensionHost.contribution.ts +++ b/src/sql/workbench/api/electron-browser/sqlExtensionHost.contribution.ts @@ -2,6 +2,5 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import 'sql/workbench/api/electron-browser/mainThreadModalDialog'; \ No newline at end of file diff --git a/src/sql/workbench/api/node/extHostBackgroundTaskManagement.ts b/src/sql/workbench/api/node/extHostBackgroundTaskManagement.ts index af7aad9659..9cfaab1b05 100644 --- a/src/sql/workbench/api/node/extHostBackgroundTaskManagement.ts +++ b/src/sql/workbench/api/node/extHostBackgroundTaskManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { ExtHostBackgroundTaskManagementShape, SqlMainContext, MainThreadBackgroundTaskManagementShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostConnectionManagement.ts b/src/sql/workbench/api/node/extHostConnectionManagement.ts index c73a321b14..a3cace9fc2 100644 --- a/src/sql/workbench/api/node/extHostConnectionManagement.ts +++ b/src/sql/workbench/api/node/extHostConnectionManagement.ts @@ -2,11 +2,9 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { ExtHostConnectionManagementShape, SqlMainContext, MainThreadConnectionManagementShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; -import { generateUuid } from 'vs/base/common/uuid'; import * as azdata from 'azdata'; export class ExtHostConnectionManagement extends ExtHostConnectionManagementShape { diff --git a/src/sql/workbench/api/node/extHostDashboard.ts b/src/sql/workbench/api/node/extHostDashboard.ts index 2bfb8d6094..7971215341 100644 --- a/src/sql/workbench/api/node/extHostDashboard.ts +++ b/src/sql/workbench/api/node/extHostDashboard.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { Event, Emitter } from 'vs/base/common/event'; diff --git a/src/sql/workbench/api/node/extHostDashboardWebview.ts b/src/sql/workbench/api/node/extHostDashboardWebview.ts index 1877b42093..f6e35ea726 100644 --- a/src/sql/workbench/api/node/extHostDashboardWebview.ts +++ b/src/sql/workbench/api/node/extHostDashboardWebview.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlMainContext, ExtHostDashboardWebviewsShape, MainThreadDashboardWebviewShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostDataProtocol.ts b/src/sql/workbench/api/node/extHostDataProtocol.ts index fff5734972..c532972c07 100644 --- a/src/sql/workbench/api/node/extHostDataProtocol.ts +++ b/src/sql/workbench/api/node/extHostDataProtocol.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as vscode from 'vscode'; import * as azdata from 'azdata'; diff --git a/src/sql/workbench/api/node/extHostExtensionManagement.ts b/src/sql/workbench/api/node/extHostExtensionManagement.ts index 935026891b..433d35ad38 100644 --- a/src/sql/workbench/api/node/extHostExtensionManagement.ts +++ b/src/sql/workbench/api/node/extHostExtensionManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostModalDialog.ts b/src/sql/workbench/api/node/extHostModalDialog.ts index 7ac54884b4..84c2d73fb0 100644 --- a/src/sql/workbench/api/node/extHostModalDialog.ts +++ b/src/sql/workbench/api/node/extHostModalDialog.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlMainContext, MainThreadModalDialogShape, ExtHostModalDialogsShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostModelView.ts b/src/sql/workbench/api/node/extHostModelView.ts index 05b738d01d..87f629cb06 100644 --- a/src/sql/workbench/api/node/extHostModelView.ts +++ b/src/sql/workbench/api/node/extHostModelView.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { Emitter } from 'vs/base/common/event'; diff --git a/src/sql/workbench/api/node/extHostModelViewDialog.ts b/src/sql/workbench/api/node/extHostModelViewDialog.ts index 8c3c02a1bc..e7641e26f3 100644 --- a/src/sql/workbench/api/node/extHostModelViewDialog.ts +++ b/src/sql/workbench/api/node/extHostModelViewDialog.ts @@ -2,22 +2,16 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { Event, Emitter } from 'vs/base/common/event'; -import { deepClone } from 'vs/base/common/objects'; import * as nls from 'vs/nls'; import { generateUuid } from 'vs/base/common/uuid'; -import { URI } from 'vs/base/common/uri'; import * as vscode from 'vscode'; import * as azdata from 'azdata'; import { SqlMainContext, ExtHostModelViewDialogShape, MainThreadModelViewDialogShape, ExtHostModelViewShape, ExtHostBackgroundTaskManagementShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; -import { IItemConfig, ModelComponentTypes, IComponentShape } from 'sql/workbench/api/common/sqlExtHostTypes'; -import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry'; -import { Inject } from '@angular/core'; import { IExtensionDescription } from 'vs/platform/extensions/common/extensions'; const DONE_LABEL = nls.localize('dialogDoneLabel', 'Done'); diff --git a/src/sql/workbench/api/node/extHostModelViewTree.ts b/src/sql/workbench/api/node/extHostModelViewTree.ts index a2fa6eeadf..c72576d755 100644 --- a/src/sql/workbench/api/node/extHostModelViewTree.ts +++ b/src/sql/workbench/api/node/extHostModelViewTree.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { localize } from 'vs/nls'; import * as vscode from 'vscode'; diff --git a/src/sql/workbench/api/node/extHostNotebookDocumentsAndEditors.ts b/src/sql/workbench/api/node/extHostNotebookDocumentsAndEditors.ts index 15e0d34941..db742e2b5b 100644 --- a/src/sql/workbench/api/node/extHostNotebookDocumentsAndEditors.ts +++ b/src/sql/workbench/api/node/extHostNotebookDocumentsAndEditors.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as vscode from 'vscode'; diff --git a/src/sql/workbench/api/node/extHostObjectExplorer.ts b/src/sql/workbench/api/node/extHostObjectExplorer.ts index 9c57ebf418..c4de90f664 100644 --- a/src/sql/workbench/api/node/extHostObjectExplorer.ts +++ b/src/sql/workbench/api/node/extHostObjectExplorer.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { ExtHostObjectExplorerShape, SqlMainContext, MainThreadObjectExplorerShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostSerializationProvider.ts b/src/sql/workbench/api/node/extHostSerializationProvider.ts index c1971e2142..58ae09ae85 100644 --- a/src/sql/workbench/api/node/extHostSerializationProvider.ts +++ b/src/sql/workbench/api/node/extHostSerializationProvider.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IMainContext } from 'vs/workbench/api/common/extHost.protocol'; import { SqlMainContext, MainThreadSerializationProviderShape, ExtHostSerializationProviderShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; diff --git a/src/sql/workbench/api/node/extHostTasks.ts b/src/sql/workbench/api/node/extHostTasks.ts index 0d0edb3ceb..b3c078355e 100644 --- a/src/sql/workbench/api/node/extHostTasks.ts +++ b/src/sql/workbench/api/node/extHostTasks.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { validateConstraint } from 'vs/base/common/types'; import { ILogService } from 'vs/platform/log/common/log'; diff --git a/src/sql/workbench/api/node/mainThreadAccountManagement.ts b/src/sql/workbench/api/node/mainThreadAccountManagement.ts index b581137be9..8e9edc8d19 100644 --- a/src/sql/workbench/api/node/mainThreadAccountManagement.ts +++ b/src/sql/workbench/api/node/mainThreadAccountManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import { IAccountManagementService } from 'sql/platform/accounts/common/interfaces'; diff --git a/src/sql/workbench/api/node/mainThreadConnectionManagement.ts b/src/sql/workbench/api/node/mainThreadConnectionManagement.ts index 51cde35ccb..7aed6fb49f 100644 --- a/src/sql/workbench/api/node/mainThreadConnectionManagement.ts +++ b/src/sql/workbench/api/node/mainThreadConnectionManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlExtHostContext, SqlMainContext, ExtHostConnectionManagementShape, MainThreadConnectionManagementShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import * as azdata from 'azdata'; diff --git a/src/sql/workbench/api/node/mainThreadCredentialManagement.ts b/src/sql/workbench/api/node/mainThreadCredentialManagement.ts index 9d6a28dfee..2d9c816326 100644 --- a/src/sql/workbench/api/node/mainThreadCredentialManagement.ts +++ b/src/sql/workbench/api/node/mainThreadCredentialManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { diff --git a/src/sql/workbench/api/node/mainThreadDashboardWebview.ts b/src/sql/workbench/api/node/mainThreadDashboardWebview.ts index 3534d714c6..5d8da74b48 100644 --- a/src/sql/workbench/api/node/mainThreadDashboardWebview.ts +++ b/src/sql/workbench/api/node/mainThreadDashboardWebview.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { MainThreadDashboardWebviewShape, SqlMainContext, ExtHostDashboardWebviewsShape, SqlExtHostContext } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers'; diff --git a/src/sql/workbench/api/node/mainThreadExtensionManagement.ts b/src/sql/workbench/api/node/mainThreadExtensionManagement.ts index b02873eab7..2345c0eb14 100644 --- a/src/sql/workbench/api/node/mainThreadExtensionManagement.ts +++ b/src/sql/workbench/api/node/mainThreadExtensionManagement.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlMainContext, MainThreadExtensionManagementShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { IExtHostContext } from 'vs/workbench/api/common/extHost.protocol'; diff --git a/src/sql/workbench/api/node/mainThreadModelView.ts b/src/sql/workbench/api/node/mainThreadModelView.ts index a3040974d1..b060102bdd 100644 --- a/src/sql/workbench/api/node/mainThreadModelView.ts +++ b/src/sql/workbench/api/node/mainThreadModelView.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { MainThreadModelViewShape, SqlMainContext, ExtHostModelViewShape, SqlExtHostContext } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers'; diff --git a/src/sql/workbench/api/node/mainThreadModelViewDialog.ts b/src/sql/workbench/api/node/mainThreadModelViewDialog.ts index dc96edc5b0..4d679bf5dd 100644 --- a/src/sql/workbench/api/node/mainThreadModelViewDialog.ts +++ b/src/sql/workbench/api/node/mainThreadModelViewDialog.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IEditorService } from 'vs/workbench/services/editor/common/editorService'; import { extHostNamedCustomer } from 'vs/workbench/api/common/extHostCustomers'; diff --git a/src/sql/workbench/api/node/mainThreadNotebook.ts b/src/sql/workbench/api/node/mainThreadNotebook.ts index 5e68dbe488..3722b39323 100644 --- a/src/sql/workbench/api/node/mainThreadNotebook.ts +++ b/src/sql/workbench/api/node/mainThreadNotebook.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import { SqlExtHostContext, SqlMainContext, ExtHostNotebookShape, MainThreadNotebookShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; diff --git a/src/sql/workbench/api/node/mainThreadObjectExplorer.ts b/src/sql/workbench/api/node/mainThreadObjectExplorer.ts index 0b347bec93..0b70e7d3bc 100644 --- a/src/sql/workbench/api/node/mainThreadObjectExplorer.ts +++ b/src/sql/workbench/api/node/mainThreadObjectExplorer.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlExtHostContext, SqlMainContext, ExtHostObjectExplorerShape, MainThreadObjectExplorerShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import * as azdata from 'azdata'; diff --git a/src/sql/workbench/api/node/mainThreadQueryEditor.ts b/src/sql/workbench/api/node/mainThreadQueryEditor.ts index 0f97cc78fc..e4642d8f1c 100644 --- a/src/sql/workbench/api/node/mainThreadQueryEditor.ts +++ b/src/sql/workbench/api/node/mainThreadQueryEditor.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { SqlExtHostContext, SqlMainContext, ExtHostQueryEditorShape, MainThreadQueryEditorShape } from 'sql/workbench/api/node/sqlExtHost.protocol'; import { IExtHostContext } from 'vs/workbench/api/common/extHost.protocol'; diff --git a/src/sql/workbench/api/node/mainThreadResourceProvider.ts b/src/sql/workbench/api/node/mainThreadResourceProvider.ts index 5dbdaf1b95..0797b0ef86 100644 --- a/src/sql/workbench/api/node/mainThreadResourceProvider.ts +++ b/src/sql/workbench/api/node/mainThreadResourceProvider.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import { IResourceProviderService } from 'sql/workbench/services/resourceProvider/common/resourceProviderService'; diff --git a/src/sql/workbench/api/node/mainThreadSerializationProvider.ts b/src/sql/workbench/api/node/mainThreadSerializationProvider.ts index 33389fe196..9897d0eda2 100644 --- a/src/sql/workbench/api/node/mainThreadSerializationProvider.ts +++ b/src/sql/workbench/api/node/mainThreadSerializationProvider.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { diff --git a/src/sql/workbench/api/node/sqlExtHost.api.impl.ts b/src/sql/workbench/api/node/sqlExtHost.api.impl.ts index 19add09bda..2fbded5710 100644 --- a/src/sql/workbench/api/node/sqlExtHost.api.impl.ts +++ b/src/sql/workbench/api/node/sqlExtHost.api.impl.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as extHostApi from 'vs/workbench/api/node/extHost.api.impl'; import { IInitData, IMainContext } from 'vs/workbench/api/common/extHost.protocol'; diff --git a/src/sql/workbench/api/node/sqlExtHost.contribution.ts b/src/sql/workbench/api/node/sqlExtHost.contribution.ts index ae599f2f6f..c3795ef7ba 100644 --- a/src/sql/workbench/api/node/sqlExtHost.contribution.ts +++ b/src/sql/workbench/api/node/sqlExtHost.contribution.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IWorkbenchContribution, IWorkbenchContributionsRegistry, Extensions as WorkbenchExtensions } from 'vs/workbench/common/contributions'; import { Registry } from 'vs/platform/registry/common/platform'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/workbench/electron-browser/enablePreviewFeatures.ts b/src/sql/workbench/electron-browser/enablePreviewFeatures.ts index d9bfdd9dc2..a891729585 100644 --- a/src/sql/workbench/electron-browser/enablePreviewFeatures.ts +++ b/src/sql/workbench/electron-browser/enablePreviewFeatures.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage'; diff --git a/src/sql/workbench/parts/charts/browser/insight.ts b/src/sql/workbench/parts/charts/browser/insight.ts index 9f0a02faf6..35a2df0bf9 100644 --- a/src/sql/workbench/parts/charts/browser/insight.ts +++ b/src/sql/workbench/parts/charts/browser/insight.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Graph } from './graphInsight'; import { IInsightData } from 'sql/workbench/parts/dashboard/widgets/insights/interfaces'; import { DataDirection, ChartType } from 'sql/workbench/parts/dashboard/widgets/insights/views/charts/interfaces'; diff --git a/src/sql/workbench/parts/charts/browser/tableInsight.ts b/src/sql/workbench/parts/charts/browser/tableInsight.ts index 9b6b21b05f..f8484846b3 100644 --- a/src/sql/workbench/parts/charts/browser/tableInsight.ts +++ b/src/sql/workbench/parts/charts/browser/tableInsight.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IInsight, InsightType } from './interfaces'; import { IInsightData } from 'sql/workbench/parts/dashboard/widgets/insights/interfaces'; import { TableDataView } from 'sql/base/browser/ui/table/tableDataView'; diff --git a/src/sql/workbench/parts/dataExplorer/browser/connectionViewletPanel.ts b/src/sql/workbench/parts/dataExplorer/browser/connectionViewletPanel.ts index 5cc0e2f5c8..1053120c1d 100644 --- a/src/sql/workbench/parts/dataExplorer/browser/connectionViewletPanel.ts +++ b/src/sql/workbench/parts/dataExplorer/browser/connectionViewletPanel.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import 'vs/css!./media/connectionViewletPanel'; import * as DOM from 'vs/base/browser/dom'; import { dispose, IDisposable } from 'vs/base/common/lifecycle'; diff --git a/src/sql/workbench/parts/dataExplorer/browser/dataExplorerViewlet.ts b/src/sql/workbench/parts/dataExplorer/browser/dataExplorerViewlet.ts index 58ceb7b78a..5e6e48b7e8 100644 --- a/src/sql/workbench/parts/dataExplorer/browser/dataExplorerViewlet.ts +++ b/src/sql/workbench/parts/dataExplorer/browser/dataExplorerViewlet.ts @@ -3,13 +3,10 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { localize } from 'vs/nls'; import { IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { IAction } from 'vs/base/common/actions'; -import { IViewlet } from 'vs/workbench/common/viewlet'; import { IViewletService } from 'vs/workbench/services/viewlet/browser/viewlet'; import { append, $, addClass, toggleClass, Dimension } from 'vs/base/browser/dom'; import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry'; diff --git a/src/sql/workbench/parts/notebook/models/jsonext.ts b/src/sql/workbench/parts/notebook/models/jsonext.ts index 6b45ef8d2e..672b1c00f4 100644 --- a/src/sql/workbench/parts/notebook/models/jsonext.ts +++ b/src/sql/workbench/parts/notebook/models/jsonext.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; /** * A type alias for a JSON primitive. */ diff --git a/src/sql/workbench/parts/notebook/models/modelFactory.ts b/src/sql/workbench/parts/notebook/models/modelFactory.ts index f1f31a968a..2e716c5ef1 100644 --- a/src/sql/workbench/parts/notebook/models/modelFactory.ts +++ b/src/sql/workbench/parts/notebook/models/modelFactory.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { nb } from 'azdata'; import { CellModel } from './cell'; diff --git a/src/sql/workbench/parts/notebook/models/notebookContexts.ts b/src/sql/workbench/parts/notebook/models/notebookContexts.ts index e9023be939..0ea7118570 100644 --- a/src/sql/workbench/parts/notebook/models/notebookContexts.ts +++ b/src/sql/workbench/parts/notebook/models/notebookContexts.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { nb } from 'azdata'; import { localize } from 'vs/nls'; diff --git a/src/sql/workbench/parts/notebook/notebookInput.ts b/src/sql/workbench/parts/notebook/notebookInput.ts index b8f587bc2b..8c3e02f0c4 100644 --- a/src/sql/workbench/parts/notebook/notebookInput.ts +++ b/src/sql/workbench/parts/notebook/notebookInput.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IEditorModel } from 'vs/platform/editor/common/editor'; import { EditorInput, EditorModel, ConfirmResult } from 'vs/workbench/common/editor'; import { Emitter, Event } from 'vs/base/common/event'; diff --git a/src/sql/workbench/parts/notebook/notebookUtils.ts b/src/sql/workbench/parts/notebook/notebookUtils.ts index 5cab9e9496..6b3f04e20a 100644 --- a/src/sql/workbench/parts/notebook/notebookUtils.ts +++ b/src/sql/workbench/parts/notebook/notebookUtils.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as path from 'path'; import { nb } from 'azdata'; import * as os from 'os'; diff --git a/src/sql/workbench/parts/notebook/outputs/widgets.ts b/src/sql/workbench/parts/notebook/outputs/widgets.ts index c316f8e02a..3e622783c0 100644 --- a/src/sql/workbench/parts/notebook/outputs/widgets.ts +++ b/src/sql/workbench/parts/notebook/outputs/widgets.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as renderers from './renderers'; import { IRenderMime } from './common/renderMimeInterfaces'; diff --git a/src/sql/workbench/services/backup/browser/backupUiService.ts b/src/sql/workbench/services/backup/browser/backupUiService.ts index 84dcd4caaa..d595f40d68 100644 --- a/src/sql/workbench/services/backup/browser/backupUiService.ts +++ b/src/sql/workbench/services/backup/browser/backupUiService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { Event, Emitter } from 'vs/base/common/event'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/workbench/services/backup/common/backupUiService.ts b/src/sql/workbench/services/backup/common/backupUiService.ts index 7b119ca7a3..ac60150f26 100644 --- a/src/sql/workbench/services/backup/common/backupUiService.ts +++ b/src/sql/workbench/services/backup/common/backupUiService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { IConnectionProfile } from 'sql/platform/connection/common/interfaces'; import { Event } from 'vs/base/common/event'; diff --git a/src/sql/workbench/services/commandLine/common/commandLine.ts b/src/sql/workbench/services/commandLine/common/commandLine.ts index fced9c99d8..c621a949ea 100644 --- a/src/sql/workbench/services/commandLine/common/commandLine.ts +++ b/src/sql/workbench/services/commandLine/common/commandLine.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { ParsedArgs } from 'vs/platform/environment/common/environment'; diff --git a/src/sql/workbench/services/dashboard/browser/newDashboardTabDialogService.ts b/src/sql/workbench/services/dashboard/browser/newDashboardTabDialogService.ts index c59403a31a..bbc771737c 100644 --- a/src/sql/workbench/services/dashboard/browser/newDashboardTabDialogService.ts +++ b/src/sql/workbench/services/dashboard/browser/newDashboardTabDialogService.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { INewDashboardTabDialogService } from 'sql/workbench/services/dashboard/common/newDashboardTabDialog'; import { NewDashboardTabDialog } from 'sql/workbench/services/dashboard/browser/newDashboardTabDialog'; import { IDashboardTab } from 'sql/platform/dashboard/common/dashboardRegistry'; diff --git a/src/sql/workbench/services/dashboard/common/newDashboardTabViewModel.ts b/src/sql/workbench/services/dashboard/common/newDashboardTabViewModel.ts index 26cafaa6cf..5cf14611f9 100644 --- a/src/sql/workbench/services/dashboard/common/newDashboardTabViewModel.ts +++ b/src/sql/workbench/services/dashboard/common/newDashboardTabViewModel.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { Event, Emitter } from 'vs/base/common/event'; import { IDashboardTab } from 'sql/platform/dashboard/common/dashboardRegistry'; diff --git a/src/sql/workbench/services/errorMessage/browser/errorMessageService.ts b/src/sql/workbench/services/errorMessage/browser/errorMessageService.ts index 61f66b0dbf..32cd2050aa 100644 --- a/src/sql/workbench/services/errorMessage/browser/errorMessageService.ts +++ b/src/sql/workbench/services/errorMessage/browser/errorMessageService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { localize } from 'vs/nls'; import Severity from 'vs/base/common/severity'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/workbench/services/fileBrowser/browser/fileBrowserDialogController.ts b/src/sql/workbench/services/fileBrowser/browser/fileBrowserDialogController.ts index 6c411d62cf..249461b798 100644 --- a/src/sql/workbench/services/fileBrowser/browser/fileBrowserDialogController.ts +++ b/src/sql/workbench/services/fileBrowser/browser/fileBrowserDialogController.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IFileBrowserDialogController } from 'sql/workbench/services/fileBrowser/common/fileBrowserDialogController'; import { FileBrowserDialog } from 'sql/workbench/services/fileBrowser/browser/fileBrowserDialog'; diff --git a/src/sql/workbench/services/fileBrowser/common/fileBrowserDialogController.ts b/src/sql/workbench/services/fileBrowser/common/fileBrowserDialogController.ts index daac3db29d..3547f91a77 100644 --- a/src/sql/workbench/services/fileBrowser/common/fileBrowserDialogController.ts +++ b/src/sql/workbench/services/fileBrowser/common/fileBrowserDialogController.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; export const IFileBrowserDialogController = createDecorator('fileBrowserDialogService'); diff --git a/src/sql/workbench/services/fileBrowser/common/fileBrowserTree.ts b/src/sql/workbench/services/fileBrowser/common/fileBrowserTree.ts index 0ed0d3a726..9235b2a64b 100644 --- a/src/sql/workbench/services/fileBrowser/common/fileBrowserTree.ts +++ b/src/sql/workbench/services/fileBrowser/common/fileBrowserTree.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { FileNode } from 'sql/workbench/services/fileBrowser/common/fileNode'; /** diff --git a/src/sql/workbench/services/notebook/common/notebookContext.ts b/src/sql/workbench/services/notebook/common/notebookContext.ts index 05e5e7bd31..4d5f2c5901 100644 --- a/src/sql/workbench/services/notebook/common/notebookContext.ts +++ b/src/sql/workbench/services/notebook/common/notebookContext.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { RawContextKey } from 'vs/platform/contextkey/common/contextkey'; /** diff --git a/src/sql/workbench/services/notebook/common/notebookRegistry.ts b/src/sql/workbench/services/notebook/common/notebookRegistry.ts index f92f3bd457..8168094fe2 100644 --- a/src/sql/workbench/services/notebook/common/notebookRegistry.ts +++ b/src/sql/workbench/services/notebook/common/notebookRegistry.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IJSONSchema } from 'vs/base/common/jsonSchema'; import { ExtensionsRegistry, IExtensionPointUser } from 'vs/workbench/services/extensions/common/extensionsRegistry'; import { localize } from 'vs/nls'; diff --git a/src/sql/workbench/services/notebook/common/notebookService.ts b/src/sql/workbench/services/notebook/common/notebookService.ts index 9fe314f6fb..4573883982 100644 --- a/src/sql/workbench/services/notebook/common/notebookService.ts +++ b/src/sql/workbench/services/notebook/common/notebookService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { Event } from 'vs/base/common/event'; diff --git a/src/sql/workbench/services/notebook/common/notebookServiceImpl.ts b/src/sql/workbench/services/notebook/common/notebookServiceImpl.ts index 45e92e98a6..d6e7269db7 100644 --- a/src/sql/workbench/services/notebook/common/notebookServiceImpl.ts +++ b/src/sql/workbench/services/notebook/common/notebookServiceImpl.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { nb } from 'azdata'; import { localize } from 'vs/nls'; import { URI } from 'vs/base/common/uri'; diff --git a/src/sql/workbench/services/notebook/common/sessionManager.ts b/src/sql/workbench/services/notebook/common/sessionManager.ts index 198762c65a..6a04916f1d 100644 --- a/src/sql/workbench/services/notebook/common/sessionManager.ts +++ b/src/sql/workbench/services/notebook/common/sessionManager.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { nb } from 'azdata'; import { localize } from 'vs/nls'; diff --git a/src/sql/workbench/services/notebook/sql/sqlNotebookManager.ts b/src/sql/workbench/services/notebook/sql/sqlNotebookManager.ts index 88e82382d8..eada51bf24 100644 --- a/src/sql/workbench/services/notebook/sql/sqlNotebookManager.ts +++ b/src/sql/workbench/services/notebook/sql/sqlNotebookManager.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { nb } from 'azdata'; import * as vscode from 'vscode'; diff --git a/src/sql/workbench/services/notebook/sql/sqlNotebookProvider.ts b/src/sql/workbench/services/notebook/sql/sqlNotebookProvider.ts index 409990913b..23520099a4 100644 --- a/src/sql/workbench/services/notebook/sql/sqlNotebookProvider.ts +++ b/src/sql/workbench/services/notebook/sql/sqlNotebookProvider.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { URI } from 'vs/base/common/uri'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; diff --git a/src/sql/workbench/services/resourceProvider/common/resourceProviderService.ts b/src/sql/workbench/services/resourceProvider/common/resourceProviderService.ts index c42650b7da..818df2afc9 100644 --- a/src/sql/workbench/services/resourceProvider/common/resourceProviderService.ts +++ b/src/sql/workbench/services/resourceProvider/common/resourceProviderService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import * as azdata from 'azdata'; diff --git a/src/sql/workbench/services/serverGroup/browser/serverGroupController.ts b/src/sql/workbench/services/serverGroup/browser/serverGroupController.ts index 44766d0505..8648566146 100644 --- a/src/sql/workbench/services/serverGroup/browser/serverGroupController.ts +++ b/src/sql/workbench/services/serverGroup/browser/serverGroupController.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import Severity from 'vs/base/common/severity'; import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; diff --git a/src/sql/workbench/update/releaseNotes.ts b/src/sql/workbench/update/releaseNotes.ts index 078945e638..a5f7c84bf8 100644 --- a/src/sql/workbench/update/releaseNotes.ts +++ b/src/sql/workbench/update/releaseNotes.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import nls = require('vs/nls'); import { Action } from 'vs/base/common/actions'; import pkg from 'vs/platform/product/node/package'; diff --git a/src/sqltest/parts/accountManagement/accountActions.test.ts b/src/sqltest/parts/accountManagement/accountActions.test.ts index 62bd0d8b5d..1c974dac0e 100644 --- a/src/sqltest/parts/accountManagement/accountActions.test.ts +++ b/src/sqltest/parts/accountManagement/accountActions.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/parts/accountManagement/accountDialogController.test.ts b/src/sqltest/parts/accountManagement/accountDialogController.test.ts index 0af02ceff8..24b41343e1 100644 --- a/src/sqltest/parts/accountManagement/accountDialogController.test.ts +++ b/src/sqltest/parts/accountManagement/accountDialogController.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as TypeMoq from 'typemoq'; import { Emitter } from 'vs/base/common/event'; diff --git a/src/sqltest/parts/accountManagement/accountPickerService.test.ts b/src/sqltest/parts/accountManagement/accountPickerService.test.ts index 48a8c06944..4f06a65239 100644 --- a/src/sqltest/parts/accountManagement/accountPickerService.test.ts +++ b/src/sqltest/parts/accountManagement/accountPickerService.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as assert from 'assert'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/parts/accountManagement/accountPickerViewModel.test.ts b/src/sqltest/parts/accountManagement/accountPickerViewModel.test.ts index 99cbf03788..59c7907a4a 100644 --- a/src/sqltest/parts/accountManagement/accountPickerViewModel.test.ts +++ b/src/sqltest/parts/accountManagement/accountPickerViewModel.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as assert from 'assert'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/parts/accountManagement/accountViewModel.test.ts b/src/sqltest/parts/accountManagement/accountViewModel.test.ts index ac5bd87269..e3387ebbe7 100644 --- a/src/sqltest/parts/accountManagement/accountViewModel.test.ts +++ b/src/sqltest/parts/accountManagement/accountViewModel.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/parts/accountManagement/autoOAuthDialogController.test.ts b/src/sqltest/parts/accountManagement/autoOAuthDialogController.test.ts index ca2bb0ffd3..652bd1211e 100644 --- a/src/sqltest/parts/accountManagement/autoOAuthDialogController.test.ts +++ b/src/sqltest/parts/accountManagement/autoOAuthDialogController.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as TypeMoq from 'typemoq'; import { Emitter } from 'vs/base/common/event'; import { InstantiationService } from 'vs/platform/instantiation/common/instantiationService'; diff --git a/src/sqltest/parts/accountManagement/firewallRuleDialogController.test.ts b/src/sqltest/parts/accountManagement/firewallRuleDialogController.test.ts index e4f3ceac73..fef435eedc 100644 --- a/src/sqltest/parts/accountManagement/firewallRuleDialogController.test.ts +++ b/src/sqltest/parts/accountManagement/firewallRuleDialogController.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; import { Emitter } from 'vs/base/common/event'; diff --git a/src/sqltest/parts/accountManagement/firewallRuleViewModel.test.ts b/src/sqltest/parts/accountManagement/firewallRuleViewModel.test.ts index 63353d5002..4972726bb0 100644 --- a/src/sqltest/parts/accountManagement/firewallRuleViewModel.test.ts +++ b/src/sqltest/parts/accountManagement/firewallRuleViewModel.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as assert from 'assert'; import { FirewallRuleViewModel } from 'sql/platform/accounts/common/firewallRuleViewModel'; diff --git a/src/sqltest/parts/connection/connectionDialogService.test.ts b/src/sqltest/parts/connection/connectionDialogService.test.ts index 29a1bdccf9..ad090ed7c0 100644 --- a/src/sqltest/parts/connection/connectionDialogService.test.ts +++ b/src/sqltest/parts/connection/connectionDialogService.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { ConnectionDialogService } from 'sql/workbench/services/connection/browser/connectionDialogService'; import { ConnectionDialogWidget } from 'sql/workbench/services/connection/browser/connectionDialogWidget'; import { ConnectionManagementService } from 'sql/platform/connection/common/connectionManagementService'; diff --git a/src/sqltest/parts/connection/connectionProfile.test.ts b/src/sqltest/parts/connection/connectionProfile.test.ts index d53e65da3c..887c5eff31 100644 --- a/src/sqltest/parts/connection/connectionProfile.test.ts +++ b/src/sqltest/parts/connection/connectionProfile.test.ts @@ -3,9 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - - import { ConnectionProfile } from 'sql/platform/connection/common/connectionProfile'; import { IConnectionProfile, IConnectionProfileStore } from 'sql/platform/connection/common/interfaces'; import * as azdata from 'azdata'; diff --git a/src/sqltest/parts/connection/connectionProfileGroup.test.ts b/src/sqltest/parts/connection/connectionProfileGroup.test.ts index 0717d4fcda..b04a022992 100644 --- a/src/sqltest/parts/connection/connectionProfileGroup.test.ts +++ b/src/sqltest/parts/connection/connectionProfileGroup.test.ts @@ -3,9 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - - import { ConnectionProfileGroup } from 'sql/platform/connection/common/connectionProfileGroup'; import * as assert from 'assert'; diff --git a/src/sqltest/parts/connection/connectionStatusManager.test.ts b/src/sqltest/parts/connection/connectionStatusManager.test.ts index 224d36f94b..9e0b234627 100644 --- a/src/sqltest/parts/connection/connectionStatusManager.test.ts +++ b/src/sqltest/parts/connection/connectionStatusManager.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import { ConnectionStatusManager } from 'sql/platform/connection/common/connectionStatusManager'; diff --git a/src/sqltest/parts/connection/providerConnectionInfo.test.ts b/src/sqltest/parts/connection/providerConnectionInfo.test.ts index 4514196a6a..1a08797cf1 100644 --- a/src/sqltest/parts/connection/providerConnectionInfo.test.ts +++ b/src/sqltest/parts/connection/providerConnectionInfo.test.ts @@ -3,15 +3,11 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - - import { ProviderConnectionInfo } from 'sql/platform/connection/common/providerConnectionInfo'; import { IConnectionProfile } from 'sql/platform/connection/common/interfaces'; import * as azdata from 'azdata'; import * as assert from 'assert'; import { ConnectionOptionSpecialType, ServiceOptionType } from 'sql/workbench/api/common/sqlExtHostTypes'; -import { ICapabilitiesService } from 'sql/platform/capabilities/common/capabilitiesService'; import { CapabilitiesTestService } from 'sqltest/stubs/capabilitiesTestService'; suite('SQL ProviderConnectionInfo tests', () => { diff --git a/src/sqltest/parts/dataExplorer/dataExplorerViewlet.test.ts b/src/sqltest/parts/dataExplorer/dataExplorerViewlet.test.ts index 93b8727292..3651632f08 100644 --- a/src/sqltest/parts/dataExplorer/dataExplorerViewlet.test.ts +++ b/src/sqltest/parts/dataExplorer/dataExplorerViewlet.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as Platform from 'vs/platform/registry/common/platform'; import { ViewletDescriptor, Extensions, Viewlet, ViewletRegistry } from 'vs/workbench/browser/viewlet'; diff --git a/src/sqltest/parts/disasterRecovery/restoreViewModel.test.ts b/src/sqltest/parts/disasterRecovery/restoreViewModel.test.ts index afe020616a..3b9fec6fe0 100644 --- a/src/sqltest/parts/disasterRecovery/restoreViewModel.test.ts +++ b/src/sqltest/parts/disasterRecovery/restoreViewModel.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as assert from 'assert'; import { RestoreViewModel } from 'sql/workbench/parts/restore/browser/restoreViewModel'; diff --git a/src/sqltest/parts/jobManagement/jobActions.test.ts b/src/sqltest/parts/jobManagement/jobActions.test.ts index 83a65ff2e4..a33c769ad6 100644 --- a/src/sqltest/parts/jobManagement/jobActions.test.ts +++ b/src/sqltest/parts/jobManagement/jobActions.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; import { JobsRefreshAction, NewJobAction, EditJobAction, RunJobAction, StopJobAction, DeleteJobAction, NewStepAction, DeleteStepAction, NewAlertAction, EditAlertAction, DeleteAlertAction, NewOperatorAction, EditOperatorAction, DeleteOperatorAction, NewProxyAction, EditProxyAction, DeleteProxyAction } from 'sql/platform/jobManagement/common/jobActions'; diff --git a/src/sqltest/parts/jobManagement/jobManagementService.test.ts b/src/sqltest/parts/jobManagement/jobManagementService.test.ts index 94db230682..38b3883158 100644 --- a/src/sqltest/parts/jobManagement/jobManagementService.test.ts +++ b/src/sqltest/parts/jobManagement/jobManagementService.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { JobManagementService } from 'sql/platform/jobManagement/common/jobManagementService'; // TESTS /////////////////////////////////////////////////////////////////// diff --git a/src/sqltest/parts/modelComponents/componentBase.test.ts b/src/sqltest/parts/modelComponents/componentBase.test.ts index 441a665049..358a9fb9c3 100644 --- a/src/sqltest/parts/modelComponents/componentBase.test.ts +++ b/src/sqltest/parts/modelComponents/componentBase.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import { ComponentBase, ContainerBase, ItemDescriptor } from 'sql/workbench/electron-browser/modelComponents/componentBase'; import { IComponentDescriptor, IModelStore, ComponentEventType } from 'sql/workbench/electron-browser/modelComponents/interfaces'; diff --git a/src/sqltest/parts/modelComponents/table.component.test.ts b/src/sqltest/parts/modelComponents/table.component.test.ts index dd013f567d..8cdd193254 100644 --- a/src/sqltest/parts/modelComponents/table.component.test.ts +++ b/src/sqltest/parts/modelComponents/table.component.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import TableComponent from 'sql/workbench/electron-browser/modelComponents/table.component'; diff --git a/src/sqltest/parts/notebook/common.ts b/src/sqltest/parts/notebook/common.ts index d8825f9f1c..7c2b21abf6 100644 --- a/src/sqltest/parts/notebook/common.ts +++ b/src/sqltest/parts/notebook/common.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { nb, IConnectionProfile } from 'azdata'; import { Event, Emitter } from 'vs/base/common/event'; diff --git a/src/sqltest/parts/notebook/model/cell.test.ts b/src/sqltest/parts/notebook/model/cell.test.ts index afc183dc7c..c56bdf6b18 100644 --- a/src/sqltest/parts/notebook/model/cell.test.ts +++ b/src/sqltest/parts/notebook/model/cell.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as should from 'should'; import * as TypeMoq from 'typemoq'; import { nb } from 'azdata'; diff --git a/src/sqltest/parts/notebook/model/contentManagers.test.ts b/src/sqltest/parts/notebook/model/contentManagers.test.ts index 144420369c..27ff9f00c8 100644 --- a/src/sqltest/parts/notebook/model/contentManagers.test.ts +++ b/src/sqltest/parts/notebook/model/contentManagers.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as should from 'should'; import { nb } from 'azdata'; diff --git a/src/sqltest/parts/profiler/service/profilerFilter.test.ts b/src/sqltest/parts/profiler/service/profilerFilter.test.ts index 32c337ab5a..378639cd46 100644 --- a/src/sqltest/parts/profiler/service/profilerFilter.test.ts +++ b/src/sqltest/parts/profiler/service/profilerFilter.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import { FilterData } from 'sql/workbench/services/profiler/common/profilerFilter'; import { ProfilerFilterClauseOperator, ProfilerFilter } from 'sql/workbench/services/profiler/common/interfaces'; diff --git a/src/sqltest/parts/query/editor/queryActions.test.ts b/src/sqltest/parts/query/editor/queryActions.test.ts index 091ff6925b..9b5d3d06b1 100644 --- a/src/sqltest/parts/query/editor/queryActions.test.ts +++ b/src/sqltest/parts/query/editor/queryActions.test.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { Emitter } from 'vs/base/common/event'; import { ISelectionData } from 'azdata'; diff --git a/src/sqltest/parts/query/editor/queryEditor.test.ts b/src/sqltest/parts/query/editor/queryEditor.test.ts index d550a26684..725d141448 100644 --- a/src/sqltest/parts/query/editor/queryEditor.test.ts +++ b/src/sqltest/parts/query/editor/queryEditor.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { InstantiationService } from 'vs/platform/instantiation/common/instantiationService'; import { IEditorDescriptor } from 'vs/workbench/browser/editor'; import { URI } from 'vs/base/common/uri'; diff --git a/src/sqltest/parts/registeredServer/viewlet/serverTreeView.test.ts b/src/sqltest/parts/registeredServer/viewlet/serverTreeView.test.ts index 9183f047b5..05a01987e3 100644 --- a/src/sqltest/parts/registeredServer/viewlet/serverTreeView.test.ts +++ b/src/sqltest/parts/registeredServer/viewlet/serverTreeView.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IConnectionProfile } from 'sql/platform/connection/common/interfaces'; import { ServerTreeView } from 'sql/workbench/parts/objectExplorer/browser/serverTreeView'; import { ConnectionManagementService } from 'sql/platform/connection/common/connectionManagementService'; diff --git a/src/sqltest/services/accountManagement/accountManagementService.test.ts b/src/sqltest/services/accountManagement/accountManagementService.test.ts index 2d7d5113e1..01415ab4df 100644 --- a/src/sqltest/services/accountManagement/accountManagementService.test.ts +++ b/src/sqltest/services/accountManagement/accountManagementService.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/services/accountManagement/accountStore.test.ts b/src/sqltest/services/accountManagement/accountStore.test.ts index 2b525ff702..c7df765a6c 100644 --- a/src/sqltest/services/accountManagement/accountStore.test.ts +++ b/src/sqltest/services/accountManagement/accountStore.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import AccountStore from 'sql/platform/accounts/common/accountStore'; diff --git a/src/sqltest/stubs/accountManagementStubs.ts b/src/sqltest/stubs/accountManagementStubs.ts index 3dd1c7ae05..c6705bbbbf 100644 --- a/src/sqltest/stubs/accountManagementStubs.ts +++ b/src/sqltest/stubs/accountManagementStubs.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { Event } from 'vs/base/common/event'; import { IAccountManagementService } from 'sql/platform/accounts/common/interfaces'; diff --git a/src/sqltest/stubs/connectionDialogTestService.ts b/src/sqltest/stubs/connectionDialogTestService.ts index 4c8e26a670..715690fc77 100644 --- a/src/sqltest/stubs/connectionDialogTestService.ts +++ b/src/sqltest/stubs/connectionDialogTestService.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; + import { INewConnectionParams, IConnectionResult, IConnectionManagementService } from 'sql/platform/connection/common/connectionManagement'; import { IConnectionProfile } from 'sql/platform/connection/common/interfaces'; import { IConnectionDialogService } from 'sql/workbench/services/connection/common/connectionDialogService'; diff --git a/src/sqltest/stubs/credentialsTestStubs.ts b/src/sqltest/stubs/credentialsTestStubs.ts index 48dedb152a..d93b776547 100644 --- a/src/sqltest/stubs/credentialsTestStubs.ts +++ b/src/sqltest/stubs/credentialsTestStubs.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import { CredentialManagementEvents, ICredentialsService } from 'sql/platform/credentials/common/credentialsService'; import { IDisposable } from 'vs/base/common/lifecycle'; diff --git a/src/sqltest/stubs/editorGroupService.ts b/src/sqltest/stubs/editorGroupService.ts index c1b5cf656f..e769fb3dce 100644 --- a/src/sqltest/stubs/editorGroupService.ts +++ b/src/sqltest/stubs/editorGroupService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { ServiceIdentifier, ServicesAccessor } from 'vs/platform/instantiation/common/instantiation'; import { Event } from 'vs/base/common/event'; import { IEditorOpeningEvent } from 'vs/workbench/browser/parts/editor/editor'; diff --git a/src/sqltest/stubs/errorMessageServiceStub.ts b/src/sqltest/stubs/errorMessageServiceStub.ts index 8ddd2361dd..e9b824048d 100644 --- a/src/sqltest/stubs/errorMessageServiceStub.ts +++ b/src/sqltest/stubs/errorMessageServiceStub.ts @@ -3,7 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import Severity from 'vs/base/common/severity'; import { IErrorMessageService } from 'sql/platform/errorMessage/common/errorMessageService'; diff --git a/src/sqltest/stubs/messageServiceStub.ts b/src/sqltest/stubs/messageServiceStub.ts index a6320f4748..a3da8164f3 100644 --- a/src/sqltest/stubs/messageServiceStub.ts +++ b/src/sqltest/stubs/messageServiceStub.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - /* import Severity from 'vs/base/common/severity'; import { IConfirmation, IMessageService, IMessageWithAction, IConfirmationResult } from 'vs/platform/message/common/message'; diff --git a/src/sqltest/stubs/storageTestService.ts b/src/sqltest/stubs/storageTestService.ts index 76ab3699b8..9d16e5cae8 100644 --- a/src/sqltest/stubs/storageTestService.ts +++ b/src/sqltest/stubs/storageTestService.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IStorageService, StorageScope, IWorkspaceStorageChangeEvent, IWillSaveStateEvent } from 'vs/platform/storage/common/storage'; import { Event } from 'vs/base/common/event'; diff --git a/src/sqltest/stubs/themeTestService.ts b/src/sqltest/stubs/themeTestService.ts index 26e2a1785e..28d29c930e 100644 --- a/src/sqltest/stubs/themeTestService.ts +++ b/src/sqltest/stubs/themeTestService.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import { IThemeService, ITheme, IThemingParticipant, IIconTheme } from 'vs/platform/theme/common/themeService'; import { Color } from 'vs/base/common/color'; import { IDisposable } from 'vs/base/common/lifecycle'; diff --git a/src/sqltest/stubs/workbenchEditorTestService.ts b/src/sqltest/stubs/workbenchEditorTestService.ts index efb53a0d3c..abc94d2dc3 100644 --- a/src/sqltest/stubs/workbenchEditorTestService.ts +++ b/src/sqltest/stubs/workbenchEditorTestService.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; + import { IEditorService, SIDE_GROUP_TYPE, ACTIVE_GROUP_TYPE, IResourceEditor, IResourceEditorReplacement, IOpenEditorOverrideHandler } from 'vs/workbench/services/editor/common/editorService'; import { ServiceIdentifier, ServicesAccessor } from 'vs/platform/instantiation/common/instantiation'; import { IEditorOptions, IResourceInput, ITextEditorOptions } from 'vs/platform/editor/common/editor'; diff --git a/src/sqltest/stubs/workspaceConfigurationTestService.ts b/src/sqltest/stubs/workspaceConfigurationTestService.ts index f70a806f8a..f5bd90f503 100644 --- a/src/sqltest/stubs/workspaceConfigurationTestService.ts +++ b/src/sqltest/stubs/workspaceConfigurationTestService.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { IConfigurationData, IConfigurationOverrides, ConfigurationTarget, IConfigurationChangeEvent, IConfigurationService } from 'vs/platform/configuration/common/configuration'; diff --git a/src/sqltest/utils/eventVerifier.ts b/src/sqltest/utils/eventVerifier.ts index 55ca2496f8..33ff100dbb 100644 --- a/src/sqltest/utils/eventVerifier.ts +++ b/src/sqltest/utils/eventVerifier.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; export class EventVerifierSingle { diff --git a/src/sqltest/workbench/api/extHostAccountManagement.test.ts b/src/sqltest/workbench/api/extHostAccountManagement.test.ts index aa070b7c1b..d09743d523 100644 --- a/src/sqltest/workbench/api/extHostAccountManagement.test.ts +++ b/src/sqltest/workbench/api/extHostAccountManagement.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as azdata from 'azdata'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/workbench/api/extHostBackgroundTaskManagement.test.ts b/src/sqltest/workbench/api/extHostBackgroundTaskManagement.test.ts index d09aa83ceb..1aa0fcdd67 100644 --- a/src/sqltest/workbench/api/extHostBackgroundTaskManagement.test.ts +++ b/src/sqltest/workbench/api/extHostBackgroundTaskManagement.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import * as assert from 'assert'; import { Mock, It, Times } from 'typemoq'; diff --git a/src/sqltest/workbench/api/extHostDataProtocol.test.ts b/src/sqltest/workbench/api/extHostDataProtocol.test.ts index 662492ae78..aeea12d015 100644 --- a/src/sqltest/workbench/api/extHostDataProtocol.test.ts +++ b/src/sqltest/workbench/api/extHostDataProtocol.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import { Mock } from 'typemoq'; import * as azdata from 'azdata'; diff --git a/src/sqltest/workbench/api/extHostModelView.test.ts b/src/sqltest/workbench/api/extHostModelView.test.ts index 76947099f3..bc19f18f6e 100644 --- a/src/sqltest/workbench/api/extHostModelView.test.ts +++ b/src/sqltest/workbench/api/extHostModelView.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import { Mock, It, Times, MockBehavior } from 'typemoq'; import * as azdata from 'azdata'; diff --git a/src/sqltest/workbench/api/extHostModelViewDialog.test.ts b/src/sqltest/workbench/api/extHostModelViewDialog.test.ts index d07e13fe04..ee47de7e06 100644 --- a/src/sqltest/workbench/api/extHostModelViewDialog.test.ts +++ b/src/sqltest/workbench/api/extHostModelViewDialog.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as azdata from 'azdata'; import * as assert from 'assert'; import { Mock, It, Times } from 'typemoq'; diff --git a/src/sqltest/workbench/api/mainThreadModelViewDialog.test.ts b/src/sqltest/workbench/api/mainThreadModelViewDialog.test.ts index d0cb4d8313..71a9d0c7ae 100644 --- a/src/sqltest/workbench/api/mainThreadModelViewDialog.test.ts +++ b/src/sqltest/workbench/api/mainThreadModelViewDialog.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import { Mock, It, Times } from 'typemoq'; import { MainThreadModelViewDialog } from 'sql/workbench/api/node/mainThreadModelViewDialog'; diff --git a/src/sqltest/workbench/api/mainThreadNotebook.test.ts b/src/sqltest/workbench/api/mainThreadNotebook.test.ts index 9a465230c9..45f039684f 100644 --- a/src/sqltest/workbench/api/mainThreadNotebook.test.ts +++ b/src/sqltest/workbench/api/mainThreadNotebook.test.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as assert from 'assert'; import * as TypeMoq from 'typemoq'; diff --git a/src/sqltest/workbench/common/taskUtilities.test.ts b/src/sqltest/workbench/common/taskUtilities.test.ts index 7fb20729ce..a148c30ca8 100644 --- a/src/sqltest/workbench/common/taskUtilities.test.ts +++ b/src/sqltest/workbench/common/taskUtilities.test.ts @@ -3,8 +3,6 @@ * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; - import * as assert from 'assert'; import * as TypeMoq from 'typemoq'; import * as TaskUtilities from 'sql/workbench/common/taskUtilities';